From 801dc5e0a6c31677c5deba4866bb0a91c2170b2c Mon Sep 17 00:00:00 2001 From: Leshana Date: Fri, 17 Mar 2017 00:49:19 -0400 Subject: [PATCH] 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. --- code/modules/mob/mob.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 7d969569d49..95a96f03c88 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -341,7 +341,7 @@ if ((stat != 2 || !( ticker ))) usr << "You must be dead to use this!" return - if (ticker.mode.deny_respawn) //BS12 EDIT + if (ticker.mode && ticker.mode.deny_respawn) //BS12 EDIT usr << "Respawn is disabled for this roundtype." return else