Fixes numerous bugs from the Runtimes topic, more sanity checking on pipes and atmos stuff for the new FEA.

This commit is contained in:
SkyMarshal
2012-05-13 13:52:40 -07:00
parent 2c08c02099
commit bdc0de5fd0
10 changed files with 55 additions and 35 deletions
+4 -2
View File
@@ -806,7 +806,9 @@
/datum/supply_packs/contraband/New()
var/list/tempContains = list()
for(var/i = 0,i<5,i++)
for(1 to 5)
if(!contains || !contains.len)
break //Sanity checking.
tempContains += pick(contains)
src.contains = tempContains
contains = tempContains
..()