mirror of https://github.com/Syncplay/syncplay
Now people are not allowed to go below your offset (if set)
This commit is contained in:
parent
6f05654eff
commit
9429e27b19
|
@ -308,6 +308,7 @@ class SyncplayClient(object):
|
||||||
if(self._player):
|
if(self._player):
|
||||||
if(position < 0):
|
if(position < 0):
|
||||||
position = 0
|
position = 0
|
||||||
|
self._protocol.sendState(self.getPlayerPosition(), self.getPlayerPaused(), True, None, True)
|
||||||
self._player.setPosition(position)
|
self._player.setPosition(position)
|
||||||
|
|
||||||
def setPaused(self, paused):
|
def setPaused(self, paused):
|
||||||
|
|
Loading…
Reference in New Issue