Răsfoiți Sursa

only print tile info if it's still in the game

George C. Privon 8 ani în urmă
părinte
comite
11a86bf2f1
1 a modificat fișierele cu 4 adăugiri și 1 ștergeri
  1. 4 1
      cgame.py

+ 4 - 1
cgame.py

@@ -354,7 +354,10 @@ class cgame:
             elif _re.match('q', cmd, _re.IGNORECASE):
                 _sys.exit(0)
             elif _re.match('s', cmd, _re.IGNORECASE):
-                self.printStatus(tilestats=True)
+                if self.state:
+                    self.printStatus(tilestats=False)
+                else:
+                    self.printStatus(tilestats=True)
             elif _re.match('n', cmd, _re.IGNORECASE):
                 self.advanceTurn(builder=False)
             elif _re.match('r', cmd, _re.IGNORECASE):