Skip to content

Commit

Permalink
Don't setPosition if you're the one who paused (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h committed Mar 27, 2015
1 parent 0a94070 commit a3c3830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncplay/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def _serverUnpaused(self, setBy):

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
Expand Down

0 comments on commit a3c3830

Please sign in to comment.