fixes verbs not refreshing after you die

This commit is contained in:
DragonTrance
2021-05-21 19:43:43 -07:00
parent 90654935a8
commit 1a87cadb37
3 changed files with 2 additions and 2 deletions
-1
View File
@@ -367,7 +367,6 @@ GLOBAL_LIST_INIT(admin_verbs_hideable, list(
message_admins("[key_name_admin(usr)] admin ghosted.")
var/mob/body = mob
body.ghostize(1)
init_verbs()
if(body && !body.key)
body.key = "@[key]" //Haaaaaaaack. But the people have spoken. If it breaks; blame adminbus
SSblackbox.record_feedback("tally", "admin_verb", 1, "Admin Ghost") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
+1 -1
View File
@@ -372,4 +372,4 @@ GLOBAL_VAR_INIT(normal_ooc_colour, "#002eb8")
set name = "Fix Stat Panel"
set hidden = TRUE
init_verbs()
init_verbs()
+1
View File
@@ -496,6 +496,7 @@ mob/visible_message(message, self_message, blind_message, vision_distance = DEFA
if (!(client.prefs.chat_toggles & CHAT_OOC) && isdead(new_mob))
client.prefs.chat_toggles ^= CHAT_OOC
new_mob.ckey = ckey
new_mob.client.init_verbs()
if(send_signal)
SEND_SIGNAL(src, COMSIG_MOB_KEY_CHANGE, new_mob, src)
return TRUE