瀏覽代碼

Added logging to show what/why we're doing what we're doing.

Steve Thielemann 5 年之前
父節點
當前提交
39ba6e0cb7
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      galaxy.py

+ 5 - 0
galaxy.py

@@ -244,6 +244,11 @@ class GameData(object):
                 )
                 return True
         else:
+            log.warn(
+                "port_buying( {0}, {1}): Yes, buying (but values unknown)".format(
+                    sector, cargo
+                )
+            )
             return True  # unknown port, we're guess yes.
         return False