mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 15:18:09 +01:00
Supply controller now holds a ref to it's shuttle
Instead of having to look it up every time.
This commit is contained in:
@@ -411,7 +411,7 @@
|
||||
|
||||
if(mode==47)
|
||||
var/supplyData[0]
|
||||
var/datum/shuttle/ferry/supply/shuttle = supply_controller.get_shuttle()
|
||||
var/datum/shuttle/ferry/supply/shuttle = supply_controller.shuttle
|
||||
if (shuttle)
|
||||
supplyData["shuttle_moving"] = shuttle.has_eta()
|
||||
supplyData["shuttle_eta"] = shuttle.eta_minutes()
|
||||
|
||||
Reference in New Issue
Block a user