diff options
| author | navewindre <nw@moneybot.cc> | 2023-11-22 04:27:09 +0100 |
|---|---|---|
| committer | navewindre <nw@moneybot.cc> | 2023-11-22 04:27:09 +0100 |
| commit | 6a292a21a7fcacde51f0551ea9ae76fe36972183 (patch) | |
| tree | 6d0561fd8ef3402ebbdb25c8c9cdfe9c6ecf7808 /sourcemod/scripting/game_manager.sp | |
| parent | 101833cf3c6abd2e5d69b056c7fb6cfe062a85b8 (diff) | |
yeee haw
Diffstat (limited to 'sourcemod/scripting/game_manager.sp')
| -rw-r--r-- | sourcemod/scripting/game_manager.sp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sourcemod/scripting/game_manager.sp b/sourcemod/scripting/game_manager.sp index e3246c1..3fcd3c7 100644 --- a/sourcemod/scripting/game_manager.sp +++ b/sourcemod/scripting/game_manager.sp @@ -227,7 +227,7 @@ public Action:RespawnPlayerDeathmatch( Handle:timer, any:userid ) { CS_RespawnPlayer( id ); } -public VerifyTeamCounts() { +public Action:VerifyTeamCounts( Handle:timer, any:unused ) { new entToKickT = 0; new entToKickCT = 0; new countCT = 0; @@ -301,12 +301,11 @@ public Action:Listener_JoinTeam( id, const String: command[], args ) { return Plugin_Handled; } - VerifyTeamCounts(); return Plugin_Continue; } public Action:Event_PlayerTeam( Handle:event, const String:name[], bool dontBroadcast ) { - VerifyTeamCounts(); + CreateTimer( 0.2, VerifyTeamCounts, 0, 0 ); return Plugin_Continue; } |
