mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
* Hard Del Fixes, Ref Tracking Changes
This commit is contained in:
@@ -867,10 +867,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
observetarget = null
|
||||
client?.perspective = initial(client.perspective)
|
||||
sight = initial(sight)
|
||||
UnregisterSignal(target, COMSIG_MOVABLE_Z_CHANGED)
|
||||
if(target.observers)
|
||||
target.observers -= src
|
||||
UNSETEMPTY(target.observers)
|
||||
if(target)
|
||||
UnregisterSignal(target, COMSIG_MOVABLE_Z_CHANGED)
|
||||
LAZYREMOVE(target.observers, src)
|
||||
|
||||
/mob/dead/observer/verb/observe()
|
||||
set name = "Observe"
|
||||
@@ -913,8 +912,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
RegisterSignal(mob_eye, COMSIG_MOVABLE_Z_CHANGED, .proc/on_observing_z_changed)
|
||||
if(mob_eye.hud_used)
|
||||
client.screen = list()
|
||||
LAZYINITLIST(mob_eye.observers)
|
||||
mob_eye.observers |= src
|
||||
LAZYOR(mob_eye.observers, src)
|
||||
mob_eye.hud_used.show_hud(mob_eye.hud_used.hud_version, src)
|
||||
observetarget = mob_eye
|
||||
|
||||
|
||||
Reference in New Issue
Block a user