Merge pull request #1174 from Citadel-Station-13/upstream-merge-27414

[MIRROR] 4th Attempt at 60% shuttle recall gang murderbone thing
This commit is contained in:
LetterJay
2017-05-30 16:04:41 -05:00
committed by GitHub
2 changed files with 3 additions and 12 deletions
+3
View File
@@ -167,6 +167,9 @@
if(!can_use(user))
return 0
if(SSshuttle.emergencyNoRecall)
return 0
if(recalling)
to_chat(usr, "<span class='warning'>Error: Recall already in progress.</span>")
return 0
-12
View File
@@ -1,12 +0,0 @@
diff a/code/modules/jobs/job_types/job.dm b/code/modules/jobs/job_types/job.dm (rejected hunks)
@@ -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