From eef796b2c6109c2779758059c1ca6c8bc0018e96 Mon Sep 17 00:00:00 2001 From: EtherealEntity Date: Wed, 23 Mar 2022 11:43:13 +1100 Subject: [PATCH] moved tick modulator so it WORKS. --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 23a116d..3871198 100644 --- a/main.py +++ b/main.py @@ -105,14 +105,14 @@ def tick(t): man.curr = nextSquare(man, grid) grid[cp[0]][cp[1]].occupant = None #they move out of there grid[man.curr[0]][man.curr[1]].occupant = i - if done: + if done and toad >= len(passengers): print("Final Tick: " + str(t)); exit() def run(): t = 0 while 1: - t += 1 tick(t) + t += 1 run()