mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-02 05:23:01 +00:00
Fix another runtime when trying to respawn before roundstart.
* If you observe, then want to respawn before the round starts, it runtimes. Lets prevent this.
This commit is contained in:
@@ -341,7 +341,7 @@
|
||||
if ((stat != 2 || !( ticker )))
|
||||
usr << "<span class='notice'><B>You must be dead to use this!</B></span>"
|
||||
return
|
||||
if (ticker.mode.deny_respawn) //BS12 EDIT
|
||||
if (ticker.mode && ticker.mode.deny_respawn) //BS12 EDIT
|
||||
usr << "<span class='notice'>Respawn is disabled for this roundtype.</span>"
|
||||
return
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user