Merge pull request #1188 from DragonTrance/fix-verbs

fixes verbs not refreshing after you die
This commit is contained in:
Dahlular
2021-05-30 16:16:10 -06:00
committed by GitHub
2 changed files with 1 additions and 1 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
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