mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[MIRROR] Fixes bombproof containers not protecting their content in some cases (#5844)
* added get content recursive flag check (#59191) * Fixes bombproof containers not protecting their content in some cases Co-authored-by: Mickyan <38563876+Mickyan@users.noreply.github.com>
This commit is contained in:
@@ -354,7 +354,7 @@ SUBSYSTEM_DEF(explosions)
|
||||
for(var/I in T)
|
||||
var/atom/A = I
|
||||
if (length(A.contents) && !(A.flags_1 & PREVENT_CONTENTS_EXPLOSION_1)) //The atom/contents_explosion() proc returns null if the contents ex_acting has been handled by the atom, and TRUE if it hasn't.
|
||||
items += A.GetAllContents()
|
||||
items += A.GetAllContents(ignore_flag_1 = PREVENT_CONTENTS_EXPLOSION_1)
|
||||
for(var/thing in items)
|
||||
var/atom/movable/movable_thing = thing
|
||||
if(QDELETED(movable_thing))
|
||||
|
||||
Reference in New Issue
Block a user