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
+2 -2
View File
@@ -43,8 +43,8 @@
return
if(isobserver(user))
var/mob/dead/observer/O = user
if(!O.can_reenter_round)
to_chat(user, "<span class='warning'>You are unable to reenter the round.</span>")
if(O.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((O.reenter_round_timeout - world.realtime)/600)] minutes.</span>")
return
var/ghost_role = alert(latejoinercalling ? "Latejoin as [mob_name]? (This is a ghost role, and as such, it's very likely to be off-station.)" : "Become [mob_name]? (Warning, You can no longer be cloned!)",,"Yes","No")
if(ghost_role == "No" || !loc)