Fixes some oversights with the protection of admin areas. (#6826)

This commit is contained in:
Werner
2019-08-07 00:51:39 +02:00
committed by GitHub
parent fd3df3e451
commit ca7468ea88
6 changed files with 156 additions and 54 deletions
+4
View File
@@ -29,6 +29,8 @@
if (moving_status == SHUTTLE_IDLE)
return //someone cancelled the launch
callHook("shuttle_moved", list(origin,destination))
moving_status = SHUTTLE_INTRANSIT //shouldn't matter but just to be safe
move(origin, destination)
moving_status = SHUTTLE_IDLE
@@ -42,6 +44,8 @@
if (moving_status == SHUTTLE_IDLE)
return //someone cancelled the launch
callHook("shuttle_moved", list(departing,destination))
arrive_time = world.time + travel_time*10
moving_status = SHUTTLE_INTRANSIT
move(departing, interim, direction)