From eba4aa38d4207ada6e2352bb2cede2db0dd9ec50 Mon Sep 17 00:00:00 2001 From: skelmis Date: Fri, 28 Aug 2020 00:55:51 +1200 Subject: [PATCH] Fix timed disconnect. --- examples/Player.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/Player.py b/examples/Player.py index a29ed13..b070c72 100644 --- a/examples/Player.py +++ b/examples/Player.py @@ -187,14 +187,10 @@ class Player: print(f"Connected to server with: {self.auth_token.username}") - count = 0 while True: time.sleep(1) - count += 1 if self.kickout: break - elif count == 50: - break def Disconnect(self): """