mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 14:08:44 +01:00
Consolidates some /Destroy()s to make them properly delete (#17046)
* The mob/living/Destroy() consolidation * The mob/Destroy() consolidation * The /mob/living/carbon/human consolidation * The datum/Destroy() Consolidation * The /atom/movable/Destroy() Consolidation * for human
This commit is contained in:
@@ -581,12 +581,6 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
/mob
|
||||
var/list/following_mobs = list()
|
||||
|
||||
/mob/Destroy()
|
||||
for(var/mob/observer/dead/M in following_mobs)
|
||||
M.stop_following()
|
||||
following_mobs = null
|
||||
return ..()
|
||||
|
||||
/mob/observer/dead/Destroy()
|
||||
visualnet.addVisibility(src, src.client)
|
||||
visualnet = null
|
||||
|
||||
Reference in New Issue
Block a user