Don't setPosition if you're the one who paused (#58)
This commit is contained in:
parent
0a94070967
commit
a3c3830027
@ -228,7 +228,7 @@ class SyncplayClient(object):
|
|||||||
|
|
||||||
def _serverPaused(self, setBy):
|
def _serverPaused(self, setBy):
|
||||||
hideFromOSD = not constants.SHOW_SAME_ROOM_OSD
|
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.setPosition(self.getGlobalPosition())
|
||||||
self._player.setPaused(True)
|
self._player.setPaused(True)
|
||||||
madeChangeOnPlayer = True
|
madeChangeOnPlayer = True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user