Fixes to TG stat tab

This commit is contained in:
QuoteFox
2021-02-27 05:46:19 +00:00
parent 6ca9ac4123
commit 25b9aa7fda
6 changed files with 6 additions and 14 deletions
@@ -270,7 +270,6 @@ Works together with spawning an observer, noted above.
var/mob/dead/observer/ghost = new(src) // Transfer safety to observer spawning proc.
SStgui.on_transfer(src, ghost) // Transfer NanoUIs.
ghost.can_reenter_corpse = can_reenter_corpse
ghost.client.init_verbs()
if (client && client.prefs && client.prefs.auto_ooc)
if (!(client.prefs.chat_toggles & CHAT_OOC))
client.prefs.chat_toggles ^= CHAT_OOC
+1
View File
@@ -424,6 +424,7 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
message_admins("[key_name_admin(C)] has taken control of ([key_name_admin(M)])")
M.ghostize(0)
M.key = C.key
M.client?.init_verbs()
return TRUE
else
to_chat(M, "There were no ghosts willing to take control.")