Skip to content

Commit

Permalink
Merge pull request #1215 from Awesomerly/stagerestart_thingy
Browse files Browse the repository at this point in the history
Make stage restart command take player to beginning when in end zone
  • Loading branch information
rtldg authored Jul 30, 2024
2 parents 101ab53 + 4465e53 commit 30ae74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/shavit-zones.sp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 30ae74f

Please sign in to comment.