From 16b9e209a60bf223708ddb6246e710f4122aded4 Mon Sep 17 00:00:00 2001 From: Mistrick Date: Thu, 5 May 2022 22:49:57 +0700 Subject: [PATCH] effects: rework condition for spawn freeze --- cstrike/addons/amxmodx/scripting/map_manager_effects.sma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cstrike/addons/amxmodx/scripting/map_manager_effects.sma b/cstrike/addons/amxmodx/scripting/map_manager_effects.sma index 367fecf..b4f289a 100644 --- a/cstrike/addons/amxmodx/scripting/map_manager_effects.sma +++ b/cstrike/addons/amxmodx/scripting/map_manager_effects.sma @@ -4,7 +4,7 @@ #include #define PLUGIN "Map Manager: Effects" -#define VERSION "0.1.0" +#define VERSION "0.1.1" #define AUTHOR "Mistrick" #pragma semicolon 1 @@ -89,7 +89,7 @@ public clcmd_say(id) } public player_spawn_post(id) { - if(get_num(FREEZE_IN_VOTE) == FREEZE_FORCE_USE_FLAGS || get_num(FREEZE_IN_VOTE) && !get_num(VOTE_IN_NEW_ROUND)) { + if(g_bFreezeFlagsChanged) { set_pev(id, pev_flags, pev(id, pev_flags) | FL_FROZEN); } if(get_num(BLACK_SCREEN)) {