From 9bb61ef9f591e7d87f7a6cafec95f80278cce241 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Wed, 23 Sep 2015 23:43:05 +0200 Subject: visualize heatmap. DIRTY! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit full of kludges, commented out codepaths, hacks, and it's SLOW AS HELL. but hey ¯\_(ツ)_/¯ --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index e980fb3..6c6cbc3 100644 --- a/main.py +++ b/main.py @@ -152,12 +152,13 @@ try: autorespawn_counter-=1 fps = clock.getfps() - if clock.newfps: + if False and clock.newfps: print("FPS: %3d" % fps) if fps < 24: probs.report("low fps") if fps > 50: probs.report("high fps") + except ProblemException: print("Exiting due to a problem such as low/high fps, network lags etc") -- cgit v1.2.1