mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
[MIRROR] Fixes items in toilet cisterns being deleted / null'd on deconstruction (#4320)
* Fixes items in toilet cisterns being deleted / null'd on deconstruction (#57864) * banished * drop loc * Fixes items in toilet cisterns being deleted / null'd on deconstruction Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
@@ -84,6 +84,8 @@
|
||||
|
||||
/obj/structure/toilet/deconstruct()
|
||||
if(!(flags_1 & NODECONSTRUCT_1))
|
||||
for(var/obj/toilet_item in contents)
|
||||
toilet_item.forceMove(drop_location())
|
||||
if(buildstacktype)
|
||||
new buildstacktype(loc,buildstackamount)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user