mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
POLARIS: zshadow del fix
This commit is contained in:
@@ -20,14 +20,16 @@
|
|||||||
if(!istype(L))
|
if(!istype(L))
|
||||||
qdel(src)
|
qdel(src)
|
||||||
return
|
return
|
||||||
..() // I'm cautious about this, but its the right thing to do.
|
|
||||||
owner = L
|
owner = L
|
||||||
sync_icon(L)
|
sync_icon(L)
|
||||||
|
|
||||||
|
/mob/zshadow/Destroy()
|
||||||
|
owner = null
|
||||||
|
..() //But we don't return because the hint is wrong
|
||||||
|
return QDEL_HINT_QUEUE
|
||||||
|
|
||||||
/mob/Destroy()
|
/mob/Destroy()
|
||||||
if(shadow)
|
qdel_null(shadow)
|
||||||
qdel(shadow)
|
|
||||||
shadow = null
|
|
||||||
. = ..()
|
. = ..()
|
||||||
|
|
||||||
/mob/zshadow/examine(mob/user, distance, infix, suffix)
|
/mob/zshadow/examine(mob/user, distance, infix, suffix)
|
||||||
|
|||||||
Reference in New Issue
Block a user