Fixes shuttle being late AFTER it arrives

This commit is contained in:
mwerezak
2014-07-05 14:35:40 -04:00
parent 0e15d55b24
commit cd6594f223

View File

@@ -46,13 +46,13 @@
while (world.time <= arrive_time)
sleep(5)
if (destination != away_area)
move(away_area, destination)
//late
if (prob(late_chance))
sleep(rand(0,max_late_time))
if (destination != away_area)
move(away_area, destination)
moving_status = SHUTTLE_IDLE
if (!at_station()) //at centcom