diff --git a/syncplay/client.py b/syncplay/client.py index f3f0a53..c714fb0 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -301,12 +301,12 @@ class SyncplayClient(object): def start(self, host, port): if self._running: return + self._running = True if self._playerClass: self._playerClass.run(self, self._startupArgs.player_path, self._startupArgs.file, self._startupArgs._args) self._playerClass = None self.protocolFactory = SyncClientFactory(self) reactor.connectTCP(host, port, self.protocolFactory) - self._running = True reactor.run() def stop(self, promptForAction = False):