From fdbf488d693e7426608335683b6cafa5475e6d2c Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Sun, 2 Aug 2020 00:29:47 -0700 Subject: [PATCH] Update explosion.dm --- code/datums/explosion.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/datums/explosion.dm b/code/datums/explosion.dm index f89d99263f..197d5f4c7d 100644 --- a/code/datums/explosion.dm +++ b/code/datums/explosion.dm @@ -198,7 +198,8 @@ GLOBAL_LIST_EMPTY(explosions) if((T == epicenter) && !QDELETED(explosion_source) && (get_turf(explosion_source) == T)) // Ensures explosives detonating from bags trigger other explosives in that bag var/list/atoms = list() - for(var/atom/A in explosion_source.loc) + var/turf/T = get_turf(explosion_source) // yeah this is two get turfs but this should only happen once + for(var/atom/A in T) atoms += A for(var/i in atoms) var/atom/A = i