Let everyone finish their tasks
This commit is contained in:
parent
d3039918ea
commit
6bd43ed2ad
1 changed files with 4 additions and 0 deletions
|
@ -352,6 +352,10 @@ try:
|
||||||
newTurn()
|
newTurn()
|
||||||
if not DEBUG:
|
if not DEBUG:
|
||||||
bar.update(turn)
|
bar.update(turn)
|
||||||
|
while turn < SIMULATION and [d for d in Drone.ALL if d.tasks]:
|
||||||
|
newTurn()
|
||||||
|
if not DEBUG:
|
||||||
|
bar.update(turn)
|
||||||
if not DEBUG:
|
if not DEBUG:
|
||||||
bar.finish()
|
bar.finish()
|
||||||
|
|
||||||
|
|
Reference in a new issue