Merge pull request #27607 from Cruix/box_fix

Fixed some jobs not spawning with their box
This commit is contained in:
Leo
2017-05-24 20:29:03 -03:00
committed by GitHub
+3 -1
View File
@@ -156,7 +156,9 @@
else
back = backpack //Department backpack
if(backpack_contents && box)
if(box)
if(!backpack_contents)
backpack_contents = list()
backpack_contents.Insert(1, box) // Box always takes a first slot in backpack
backpack_contents[box] = 1