Skip to content

Commit

Permalink
freak_fortress_2: Fix waitingforplayer phase skipping (#170) [M]
Browse files Browse the repository at this point in the history
- "Can't joining any team" issue was fixed on Various Fixes. But
gamemode.sp still use old detect method. As a result, it skips "waiting
for player" phase.
  • Loading branch information
M60TM authored Feb 12, 2024
1 parent a3c5222 commit 8853ddf
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions addons/sourcemod/scripting/freak_fortress_2/gamemode.sp
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,7 @@ void Gamemode_MapInit()
void Gamemode_MapStart()
{
RoundStatus = -1;
Waiting = true;
for(int i = 1; i <= MaxClients; i++)
{
if(IsClientInGame(i))
{
Waiting = false;
break;
}
}
Waiting = GameRules_GetRoundState() < RoundState_StartGame;
}

void Gamemode_MapEnd()
Expand Down

0 comments on commit 8853ddf

Please sign in to comment.