aboutsummaryrefslogtreecommitdiff
path: root/client/game.py
diff options
context:
space:
mode:
authorTom Harley2017-12-02 17:46:57 +0000
committerTom Harley2017-12-02 17:46:57 +0000
commit6caa8524ca7e3e827c457212190bda83e094d987 (patch)
treed2630846e44ba84fdcf512fb8071b7e96ef8618a /client/game.py
parentadded substantial game logic (diff)
parentRendering scores (diff)
downloadlongpong-6caa8524ca7e3e827c457212190bda83e094d987.tar.gz
longpong-6caa8524ca7e3e827c457212190bda83e094d987.zip

Merge branch ‘master’ of https://github.com/magnostherobot/longpong

Diffstat (limited to 'client/game.py')
-rw-r--r--client/game.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/game.py b/client/game.py
index 3998110..485a874 100644
--- a/client/game.py
+++ b/client/game.py
@@ -81,7 +81,7 @@ class Game:
self.client.listen()
# Quit on quit input or when the server stops
self.events.poll()
- if self.events.is_quit() or self.client.has_stopped():
+ if self.events.has_quit() or self.client.has_stopped():
self.running = False
break
self.update(None)