mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Morgue Updating [Hooks P4]
This commit is contained in:
@@ -484,14 +484,4 @@
|
||||
if(istype(C)) //We found our corpse, is it inside a morgue?
|
||||
morgue = get(C.loc, /obj/structure/morgue)
|
||||
if(morgue)
|
||||
morgue.update()
|
||||
|
||||
/hook/mob_login/proc/update_morgue(var/client/client, var/mob/mob)
|
||||
//Update morgues on login
|
||||
mob.update_morgue()
|
||||
return 1
|
||||
|
||||
/hook/mob_logout/proc/update_morgue(var/client/client, var/mob/mob)
|
||||
//Update morgues on logout
|
||||
mob.update_morgue()
|
||||
return 1
|
||||
morgue.update()
|
||||
Reference in New Issue
Block a user