Don't setPosition if you're the one who paused (#58)

This commit is contained in:
Et0h 2015-03-27 15:39:11 +00:00
parent 0a94070967
commit a3c3830027

View File

@ -228,7 +228,7 @@ class SyncplayClient(object):
def _serverPaused(self, setBy):
hideFromOSD = not constants.SHOW_SAME_ROOM_OSD
if constants.SYNC_ON_PAUSE:
if constants.SYNC_ON_PAUSE and self.getUsername() <> setBy:
self.setPosition(self.getGlobalPosition())
self._player.setPaused(True)
madeChangeOnPlayer = True