aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Harley2017-12-02 15:51:43 +0000
committerTom Harley2017-12-02 15:51:43 +0000
commita655f15aefc915ba74c24d796aab5fb2dd773b22 (patch)
tree2f361e99f8ebc047929e657805daf69d5efd2d77
parentMerge branch 'master' of github.com:magnostherobot/longpong (diff)
downloadlongpong-a655f15aefc915ba74c24d796aab5fb2dd773b22.tar.gz
longpong-a655f15aefc915ba74c24d796aab5fb2dd773b22.zip

todone!

-rw-r--r--client/game.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/game.py b/client/game.py
index 551f69b..104cc18 100644
--- a/client/game.py
+++ b/client/game.py
@@ -28,7 +28,7 @@ class Game:
self.events.poll()
if self.events.has_space():
self.client.send_start()
- # TODO: set the renderer offset
+ self.renderer.set_offset(client.get_messages()[0]['screen_offset'])
# Run the game loop
self.loop()