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:
jenz 2024-09-21 16:55:29 +02:00
parent 924ffd318c
commit 2508ad1957

View File

@ -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))
{