Commit b91d5d93 authored by Aurel Wildfellner's avatar Aurel Wildfellner

FIX - calc main loop interval correctly from int fps rate.

parent 3d3ba690
......@@ -285,7 +285,7 @@ def main():
def gameLoop(foo):
pyglet.clock.schedule_interval(gameLoop, 1/PongConfig.refreshRate)
pyglet.clock.schedule_interval(gameLoop, 1/float(PongConfig.refreshRate))
#TODO catch exceptions and stop barcode reader threads
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment