aboutsummaryrefslogtreecommitdiff
path: root/client/game.py
diff options
context:
space:
mode:
authorBilly Brown2017-12-02 17:44:28 +0000
committerBilly Brown2017-12-02 17:44:28 +0000
commitd8a523701624e6977eaf0d467ac75ab878638708 (patch)
treeb88431aafa305d47787e9aeb40c0dd894f1c86a1 /client/game.py
parentServer takes port on command line (diff)
downloadlongpong-d8a523701624e6977eaf0d467ac75ab878638708.tar.gz
longpong-d8a523701624e6977eaf0d467ac75ab878638708.zip

Rendering scores

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 e582027..bdd1c56 100644
--- a/client/game.py
+++ b/client/game.py
@@ -47,7 +47,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)