From f566d95b4bcc04fb894b5dc6b702ff5e328a3645 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Fri, 30 Jul 2004 21:52:13 +0000 Subject: [PATCH] small fix --- plugins/mapchooser.sma | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/mapchooser.sma b/plugins/mapchooser.sma index 0c914475..087e18aa 100755 --- a/plugins/mapchooser.sma +++ b/plugins/mapchooser.sma @@ -57,7 +57,7 @@ public plugin_init() register_cvar("amx_extendmap_max","90") register_cvar("amx_extendmap_step","15") - if ( g_coloredMenus = colored_menus() ) + if ( cstrike_running() ) register_event("TeamScore", "team_score", "a") get_localinfo("lastMap",g_lastMap,31) @@ -70,6 +70,8 @@ public plugin_init() format(maps_ini_file, 63, "mapcycle.txt") if ( loadSettings(maps_ini_file) ) set_task(15.0,"voteNextmap",987456,"",0,"b") + + g_coloredMenus = colored_menus() } public checkVotes(){