i dont know why 1.0 is needed instead of 0.1. on dev it was fine but on ze 1.0 is needed
This commit is contained in:
parent
924ffd318c
commit
2508ad1957
@ -991,7 +991,7 @@ public Action CS_OnTerminateRound(float &delay, CSRoundEndReason &reason)
|
||||
InitiateVote(MapChange_Instant); //feature so mapvote happens at actual mapend
|
||||
}
|
||||
delay = float(total_time);
|
||||
CreateTimer(0.1, Timer_set_move_type);
|
||||
CreateTimer(1.0, Timer_set_move_type);
|
||||
return Plugin_Changed;
|
||||
}
|
||||
g_DidRoundTerminate = false;
|
||||
@ -1000,7 +1000,7 @@ public Action CS_OnTerminateRound(float &delay, CSRoundEndReason &reason)
|
||||
|
||||
public Action Timer_set_move_type(Handle hTimer, Handle dp)
|
||||
{
|
||||
for (int i = 1; i < MaxClients; i++)
|
||||
for (int i = 1; i <= MaxClients; i++)
|
||||
{
|
||||
if (IsValidClient(i))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user