The 515 MegaPR early downport (#7783)

Co-authored-by: Selis <selis@xynolabs.com>
Co-authored-by: Selis <sirlionfur@hotmail.de>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: SatinIsle <thesatinisle@gmail.com>
Co-authored-by: Heroman <alesha3000@list.ru>
Co-authored-by: Casey <a.roaming.shadow@gmail.com>
Co-authored-by: Raeschen <rycoop29@gmail.com>
This commit is contained in:
Cadyn
2024-02-27 11:17:32 -08:00
committed by GitHub
parent 96a43a09c1
commit b90f7ec922
254 changed files with 2135 additions and 1576 deletions
+9 -1
View File
@@ -752,7 +752,15 @@
return
/obj/structure/disposalholder/Destroy()
qdel(gas)
QDEL_NULL(gas)
if(contents.len)
var/turf/qdelloc = get_turf(src)
if(qdelloc)
for(var/atom/movable/AM in contents)
AM.loc = qdelloc
else
log_and_message_admins("A disposal holder was deleted with contents in nullspace") //ideally, this should never happen
active = 0
return ..()