Browse Source

ColoScript2: Oops, catch no folks on terra in the right spot.

david 5 năm trước cách đây
mục cha
commit
fec0ac5a0a
1 tập tin đã thay đổi với 4 bổ sung5 xóa
  1. 4 5
      flexible.py

+ 4 - 5
flexible.py

@@ -3253,6 +3253,9 @@ class ColoScript2(object):
         if "There isn't room on the planet for that many!" in line:
             self.send2player("\r" + Boxes.alert("We have to many people!"))
             self.deactivate(True)
+        if "There aren't that many on Terra!" in line:
+            self.send2player("\r" + Boxes.alert("No people on Terra to get!"))
+            self.deactivate(True)
 
         # Now back to our scheduled program
         if self.state == 1:
@@ -3534,11 +3537,7 @@ class MaxFighterMake(object):
         if "There isn't room on the planet for that many!" in line:
             self.send2player("\r" + Boxes.alert("We have to many people!"))
             self.deactivate(True)
-        if "There aren't that many on Terra!" in line:
-            self.send2player("\r" + Boxes.alert("No people on Terra to get!"))
-            self.deactivate(True)
-
-
+        
         # Now back to our scheduled program
         if self.state == 1:
             if line.startswith("Planets"):