From cf9460c7926be62dac8b786a586da01b8c637ad5 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Tue, 1 Sep 2015 00:12:56 +0200 Subject: improvement --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 79b0e54..6a50ce6 100644 --- a/main.py +++ b/main.py @@ -58,7 +58,7 @@ class ProblemManager: if self.setup[prob][2]: raise ProblemException -probs = ProblemManager({"network lag":(100,5,True), "strategy lag":(5,2,False), "gui lag":(5,2,False), "high fps":(300,6,True), "low fps":(5,6,True)}) +probs = ProblemManager({"network lag":(100,5,True), "strategy lag":(5,2,False), "gui lag":(5,2,False), "high fps":(5,6,True), "low fps":(5,6,True)}) if "--nogui" in sys.argv: @@ -155,8 +155,8 @@ while gui.running: print("FPS: %3d" % fps) if fps < 24: probs.report("low fps") - if fps > 50: - probs.report("high fps") + if fps > 50: + probs.report("high fps") stats.save("stats.pickle") -- cgit v1.2.3