Skip to content

Commit

Permalink
fix: warmup logic (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushaway authored Oct 16, 2023
1 parent ffa6238 commit f599b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/addons/sourcemod/scripting/zr/infect.inc
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ void InfectOnRoundFreezeEnd()

// Warmup
#if defined _TeamManager_include
if(g_TeamManagerLoaded && TeamManager_InWarmup())
if(g_TeamManagerLoaded && TeamManager_HasWarmup() && TeamManager_InWarmup())
{
return;
}
Expand Down Expand Up @@ -570,7 +570,7 @@ public Action InfectMotherZombie(Handle timer)

// Warmup
#if defined _TeamManager_include
if(g_TeamManagerLoaded && TeamManager_InWarmup())
if(g_TeamManagerLoaded && TeamManager_HasWarmup() && TeamManager_InWarmup())
{
return Plugin_Continue;
}
Expand Down

0 comments on commit f599b58

Please sign in to comment.