mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 18:46:24 +01:00
bunch of unhandled refs (#16919)
* bunch of unhandled refs * fix that (#6)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user