From 8e06063d55d16207eed11ceaeb6a5f32bf4e7b4c Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 27 Jun 2015 15:37:56 +0200 Subject: 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 --- CAO/Client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CAO/Client.py') 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) -- cgit v1.2.3