mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Fixes numerous bugs from the Runtimes topic, more sanity checking on pipes and atmos stuff for the new FEA.
This commit is contained in:
@@ -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
|
||||
..()
|
||||
Reference in New Issue
Block a user