Prechádzať zdrojové kódy

ColoScript Rework on inital auto warp to sector 1

david 5 rokov pred
rodič
commit
7d0b45aa1b
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 3 1
      flexible.py

+ 3 - 1
flexible.py

@@ -2588,7 +2588,9 @@ class ColoScript(object):
                 self.loops = 1
             self.maxloops = self.loops
             self.state = 3
+            self.game.to_player = False
             self.send2game("I") # A neutral command, that won't hose up sending Express Mode? (Yes)
+            self.game.to_player = True
             # In fact this should allow us to see how many holds are avalible/empty
             # Jump to state 3 = Move to Terra
 
@@ -2654,7 +2656,7 @@ class ColoScript(object):
                 self.queue_player.put("N")
             elif re.match(r"Command \[TL=.* \(\?=Help\)\? :", prompt):             
                 self.state = 4
-                self.send2game("1\r")
+                self.send2game("1\rE")
                 # Move to sector 1, Terra
         elif self.state == 4:
             # Moving to Terra