瀏覽代碼

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 年之前
父節點
當前提交
5489bbc7e8
共有 1 個文件被更改,包括 2 次插入2 次删除
  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(*_):