Fixes morgue updating and removes VGhooks

This commit is contained in:
Krausus
2016-07-11 17:39:21 -04:00
parent 26e13f270f
commit 355fb3c080
12 changed files with 54 additions and 129 deletions
+1 -1
View File
@@ -77,7 +77,7 @@
for(var/datum/alternate_appearance/AA in viewing_alternate_appearances)
AA.display_to(list(src))
CallHook("Login", list("client" = src.client, "mob" = src))
callHook("mob_login", list("client" = client, "mob" = src))
// Calling update_interface() in /mob/Login() causes the Cyborg to immediately be ghosted; because of winget().
// Calling it in the overriden Login, such as /mob/living/Login() doesn't cause this.
+1 -1
View File
@@ -11,6 +11,6 @@
send2adminirc("[key_name(src)] logged out - no more admins online.")
..()
CallHook("Logout", list("client" = src.client, "mob" = src))
callHook("mob_logout", list("client" = client, "mob" = src))
return 1
+1 -1
View File
@@ -27,7 +27,7 @@
loc = pick(watch_locations)
*/
CallHook("Login", list("client" = src.client, "mob" = src))
callHook("mob_login", list("client" = client, "mob" = src))
new_player_panel()
if(ckey in deadmins)