mitigates the ghost roles/mid-round antag lock out for suicide/cryo. And related fixes.

This commit is contained in:
Ghommie
2019-10-09 06:51:07 +02:00
parent 47c18fd052
commit b4e975ef75
11 changed files with 43 additions and 16 deletions
@@ -39,7 +39,10 @@
. = ..()
//ATTACK GHOST IGNORING PARENT RETURN VALUE
/obj/item/clockwork/construct_chassis/attack_ghost(mob/user)
/obj/item/clockwork/construct_chassis/attack_ghost(mob/dead/observer/user)
if(user.reenter_round_timeout > world.realtime)
to_chat(user, "<span class='warning'>You are unable to reenter the round yet. Your ghost role blacklist will expire in [round((user.reenter_round_timeout - world.realtime)/600)] minutes.</span>")
return
if(!SSticker.mode)
to_chat(user, "<span class='danger'>You cannot use that before the game has started.</span>")
return