"better" coding fix

This commit is contained in:
Dogan 2018-12-26 02:31:21 +01:00
parent 5e122008e1
commit ab685cf66a

View File

@ -87,7 +87,7 @@ public Action OnWarmupTimer(Handle timer)
PrintCenterTextAll("Warmup: Waiting for %d more players to join or %d seconds.", ClientsNeeded - ClientsInGame, g_CVar_sm_warmupmaxtime.IntValue - g_iMaxWarmup); PrintCenterTextAll("Warmup: Waiting for %d more players to join or %d seconds.", ClientsNeeded - ClientsInGame, g_CVar_sm_warmupmaxtime.IntValue - g_iMaxWarmup);
return Plugin_Continue; return Plugin_Continue;
} }
else if(ClientsInGame >= ClientsNeeded) else
{ {
g_iWarmup++; g_iWarmup++;
PrintCenterTextAll("Warmup: Enough players joined. %d seconds left. ", g_CVar_sm_warmuptime.IntValue - g_iWarmup); PrintCenterTextAll("Warmup: Enough players joined. %d seconds left. ", g_CVar_sm_warmuptime.IntValue - g_iWarmup);