Browse Source

Adds an autostep limits to 0x40000 steps

Yann Weber 6 years ago
parent
commit
733743ba57
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      gte/world.py

+ 1
- 1
gte/world.py View File

@@ -42,7 +42,7 @@ def eval_prog(args):
42 42
         steps = 0
43 43
         lim_reach = 0
44 44
         retry_lim = 0
45
-        while lim_reach < 2:
45
+        while lim_reach < 2 and steps < 0x40000:
46 46
             for _ in range(3000):
47 47
                 for turmit in turmits:
48 48
                     turmit()

Loading…
Cancel
Save