Jelajahi Sumber

ColoScript Turns Issue Resolved

Apparently since I added an extra state to handle it not understanding
 there is a Planetary Scanner being used on Terra therefore the state
  it looks to see how many turns changed... and I missed that.
david 5 tahun lalu
induk
melakukan
4b23ef07b0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      flexible.py

+ 1 - 1
flexible.py

@@ -2754,7 +2754,7 @@ class ColoScript(object):
                 self.planets[number]['ore'] = details[5]
                 self.planets[number]['org'] = details[6]
                 self.planets[number]['equ'] = details[7]
-        elif self.state == 5:
+        elif self.state == 6:
             if 'turns left' in line:
                 work = line[19:].replace(' turns left.', '').strip()
                 self.turns = work