[MIRROR] bunch of unhandled refs (#9905)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-18 18:33:23 +01:00
committed by GitHub
co-authored by Kashargul
parent 996493192a
commit e6bb9c3f94
9 changed files with 9 additions and 17 deletions
+3 -1
View File
@@ -498,7 +498,9 @@ var/global/list/obj/item/pda/PDAs = list()
/obj/item/pda/Destroy()
PDAs -= src
if (src.id && !delete_id && src.id.loc == src) //CHOMPEdit
if(id.loc != src)
id = null
if (src.id && !delete_id)
src.id.forceMove(get_turf(src.loc))
else
QDEL_NULL(src.id)