mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Fixes shuttle being late AFTER it arrives
This commit is contained in:
@@ -46,13 +46,13 @@
|
|||||||
while (world.time <= arrive_time)
|
while (world.time <= arrive_time)
|
||||||
sleep(5)
|
sleep(5)
|
||||||
|
|
||||||
if (destination != away_area)
|
|
||||||
move(away_area, destination)
|
|
||||||
|
|
||||||
//late
|
//late
|
||||||
if (prob(late_chance))
|
if (prob(late_chance))
|
||||||
sleep(rand(0,max_late_time))
|
sleep(rand(0,max_late_time))
|
||||||
|
|
||||||
|
if (destination != away_area)
|
||||||
|
move(away_area, destination)
|
||||||
|
|
||||||
moving_status = SHUTTLE_IDLE
|
moving_status = SHUTTLE_IDLE
|
||||||
|
|
||||||
if (!at_station()) //at centcom
|
if (!at_station()) //at centcom
|
||||||
|
|||||||
Reference in New Issue
Block a user