From 72bb5f42b8d005fd9965c9c889f73fd7cfb83f2c Mon Sep 17 00:00:00 2001 From: Blovy Date: Thu, 26 Dec 2024 15:18:42 -0600 Subject: [PATCH] Respawn Fix --- code/modules/mob/mob.dm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 637df8274c..02d07b0789 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -607,13 +607,10 @@ set name = "Respawn" set category = "OOC" - // /* check respawn is on */ - // if(CONFIG_GET(flag/norespawn)) - // return - // /* check player is actually dead */ - // if((stat != DEAD || !( SSticker ))) - // to_chat(usr, span_boldnotice("I must be dead to use this!")) - // return + /* check player is actually dead */ + if((stat != DEAD)) + to_chat(usr, span_boldnotice("I must be dead to use this!")) + return var/is_admin = check_rights_for(src.client, R_ADMIN) var/test = world.time - src.timeofdeath //How long dead for in deciseconds -- src can either be the corpse or ghost