mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Last fixes
This commit is contained in:
@@ -69,15 +69,11 @@
|
||||
|
||||
emptyTurfs += T
|
||||
|
||||
world << "Supply shuttle buying items. emptyTurfs.len = [emptyTurfs.len]"
|
||||
|
||||
for(var/datum/supply_order/SO in shuttle_master.shoppinglist)
|
||||
if(!SO.object)
|
||||
throw EXCEPTION("Supply Order [SO] has no object associated with it.")
|
||||
continue
|
||||
|
||||
world << "Supply shuttle buying [SO], [SO.object]."
|
||||
|
||||
var/turf/T = pick_n_take(emptyTurfs) //turf we will place it in
|
||||
if(!T)
|
||||
shuttle_master.shoppinglist.Cut(1, shuttle_master.shoppinglist.Find(SO))
|
||||
|
||||
Reference in New Issue
Block a user