Merge pull request #1215 from Awesomerly/stagerestart_thingy

Make stage restart command take player to beginning when in end zone
This commit is contained in:
rtldg 2024-07-30 22:48:15 +00:00 committed by GitHub
commit 30ae74fd9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2491,7 +2491,7 @@ public Action Command_StageRestart(int client, int args)
return Plugin_Handled;
}
if (last <= 0)
if (last <= 0 || InsideZone(client, Zone_End, track))
{
Shavit_RestartTimer(client, track);
}