Shuttle unit test + bugfix (#13578)

This commit is contained in:
mikomyazaki
2022-04-20 22:15:27 +02:00
committed by GitHub
parent e59589ec8a
commit 692bef4a37
10 changed files with 77 additions and 5 deletions
+5 -1
View File
@@ -126,6 +126,7 @@
arrive_time = world.time + travel_time*10
moving_status = SHUTTLE_INTRANSIT
if(attempt_move(interim))
on_move_interim()
var/fwooshed = 0
while (world.time < arrive_time)
if(!fwooshed && (arrive_time - world.time) < 100)
@@ -298,4 +299,7 @@
/datum/shuttle/proc/set_process_state(var/new_state)
process_state = new_state
for(var/obj/machinery/computer/shuttle_control/SC as anything in shuttle_computers)
SC.update_helmets(src)
SC.update_helmets(src)
/datum/shuttle/proc/on_move_interim()
return