diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-06-27 15:37:56 +0200 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-06-27 16:43:42 +0200 |
commit | 8e06063d55d16207eed11ceaeb6a5f32bf4e7b4c (patch) | |
tree | 9887760596e43b476484c5ef286d09d487362a2a /CAO/Client.py | |
parent | 34f3ab900a9cac78acb7a10d1ed60555d98ff822 (diff) |
handle the disconnection of the judge
in case the judge disconnects, we give back the played cards to the
players and they are demanded to elect a new one
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'CAO/Client.py')
-rw-r--r-- | CAO/Client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CAO/Client.py b/CAO/Client.py index 03bb68d..2d0bbac 100644 --- a/CAO/Client.py +++ b/CAO/Client.py @@ -70,4 +70,4 @@ class Client(): def disconnect(self): if self.player is not None: - self.player.client = None + self.game.disconnect(self.player) |