summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-09-23 23:43:05 +0200
committerFlorian Jung <flo@windfisch.org>2015-09-23 23:43:05 +0200
commit9bb61ef9f591e7d87f7a6cafec95f80278cce241 (patch)
treef7d331e451d72ec61b985f0502b11244c6ce5b72 /main.py
parent5cab19f25ec80cecc477d250ff22761b2cf28a86 (diff)
visualize heatmap. DIRTY!
full of kludges, commented out codepaths, hacks, and it's SLOW AS HELL. but hey ¯\_(ツ)_/¯
Diffstat (limited to 'main.py')
-rw-r--r--main.py3
1 files changed, 2 insertions, 1 deletions
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")