diff options
author | Florian Jung <flo@windfisch.org> | 2015-09-23 23:43:05 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-09-23 23:43:05 +0200 |
commit | 9bb61ef9f591e7d87f7a6cafec95f80278cce241 (patch) | |
tree | f7d331e451d72ec61b985f0502b11244c6ce5b72 /main.py | |
parent | 5cab19f25ec80cecc477d250ff22761b2cf28a86 (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.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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") |