Ports "Fixes default supplypods exploding their contents" & co.

This commit is contained in:
Ghommie
2019-07-04 22:35:13 +02:00
parent a814442fa5
commit b41e289db3
7 changed files with 31 additions and 11 deletions

View File

@@ -198,7 +198,8 @@ GLOBAL_LIST_EMPTY(explosions)
var/list/items = list()
for(var/I in T)
var/atom/A = I
items += A.GetAllContents()
if (!A.prevent_content_explosion()) //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()
for(var/O in items)
var/atom/A = O
if(!QDELETED(A))