Kaynağa Gözat

Fixed visual issue with Which sector to trade with lines.

Only shows with multiple lines.  First line is Cyan,
others are not.  They are all Cyan now.
Steve Thielemann 5 yıl önce
ebeveyn
işleme
5489bbc7e8
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      flexible.py

+ 2 - 2
flexible.py

@@ -572,9 +572,9 @@ class ScriptPort(object):
                     # Ok, we need to prompt for this.
                     self.queue_game.put(self.r + self.nl + 
                         "Which sector to trade with? {0}".format(GameData.port_show_part(self.this_sector, self.game.gamedata.ports[self.this_sector])) +
-                        self.nl + Fore.CYAN)
+                        self.nl)
                     for i, p in enumerate(self.possible):
-                        self.queue_game.put(" " + str(i + 1) + " : " + GameData.port_show_part(p, self.game.gamedata.ports[p]) + self.nl)
+                        self.queue_game.put(" " + Fore.CYAN + str(i + 1) + " : " + GameData.port_show_part(p, self.game.gamedata.ports[p]) + self.nl)
                     
                     pi = PlayerInput(self.game)
                     def got_need1(*_):