diff options
Diffstat (limited to 'CAO_Client.py')
-rw-r--r-- | CAO_Client.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CAO_Client.py b/CAO_Client.py index b9da42a..bdcc000 100644 --- a/CAO_Client.py +++ b/CAO_Client.py @@ -61,3 +61,7 @@ class CAO_Client(): def send_notification(self, message): self.socket.send_message(self.handler, message) + + def disconnect(self): + if self.player is not None: + self.player.client = None |