diff --git a/code/game/machinery/computer/supply.dm b/code/game/machinery/computer/supply.dm index 7783fa7eb0..6b9b0f7380 100644 --- a/code/game/machinery/computer/supply.dm +++ b/code/game/machinery/computer/supply.dm @@ -65,7 +65,7 @@ if(shuttle.has_arrive_time()) shuttle_status["location"] = "In transit" shuttle_status["mode"] = SUP_SHUTTLE_TRANSIT - shuttle_status["time"] = shuttle.eta_seconds() + shuttle_status["time"] = shuttle.eta_deciseconds() // tgui expects time for it's formatTime() in DS else shuttle_status["time"] = 0 diff --git a/code/modules/shuttles/shuttle_supply.dm b/code/modules/shuttles/shuttle_supply.dm index a51fe50d56..55ee7d83b4 100644 --- a/code/modules/shuttles/shuttle_supply.dm +++ b/code/modules/shuttles/shuttle_supply.dm @@ -84,8 +84,13 @@ //returns the ETA in minutes /datum/shuttle/autodock/ferry/supply/proc/eta_minutes() - return round((arrive_time - world.time) / (1 MINUTE), 1) // Floor, so it's an actual timer + return round((arrive_time - world.time) / (1 MINUTE)) // Floor, so it's an actual timer // returns the ETA in seconds /datum/shuttle/autodock/ferry/supply/proc/eta_seconds() return round((arrive_time - world.time) / (1 SECOND)) // Floor, so it's an actual timer + +//returns the ETA in deciseconds +/datum/shuttle/autodock/ferry/supply/proc/eta_deciseconds() + return round(arrive_time - world.time) + \ No newline at end of file