bunch of unhandled refs (#16919)

* bunch of unhandled refs

* fix that (#6)
This commit is contained in:
Kashargul
2025-01-18 05:43:53 +01:00
committed by GitHub
parent da4c6f1f63
commit e2b68fd0ac
12 changed files with 30 additions and 10 deletions
+3 -1
View File
@@ -491,7 +491,9 @@ var/global/list/obj/item/pda/PDAs = list()
/obj/item/pda/Destroy()
PDAs -= src
if (src.id && prob(100) && !delete_id) //IDs are kept in 90% of the cases //VOREStation Edit - 100% of the cases, excpet when specified otherwise
if(id.loc != src)
id = null
if (src.id && !delete_id)
src.id.forceMove(get_turf(src.loc))
else
QDEL_NULL(src.id)