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:
Leshana
2017-03-17 00:49:19 -04:00
parent 78563a608e
commit 801dc5e0a6

View File

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