Skip to content

Commit

Permalink
effects: rework condition for spawn freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistrick committed May 5, 2022
1 parent d84d453 commit 16b9e20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cstrike/addons/amxmodx/scripting/map_manager_effects.sma
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <map_manager>

#define PLUGIN "Map Manager: Effects"
#define VERSION "0.1.0"
#define VERSION "0.1.1"
#define AUTHOR "Mistrick"

#pragma semicolon 1
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit 16b9e20

Please sign in to comment.