Now people are not allowed to go below your offset (if set)

This commit is contained in:
Uriziel 2012-12-24 19:35:55 +01:00
parent 6f05654eff
commit 9429e27b19
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ class SyncplayClient(object):
if(self._player):
if(position < 0):
position = 0
self._protocol.sendState(self.getPlayerPosition(), self.getPlayerPaused(), True, None, True)
self._player.setPosition(position)
def setPaused(self, paused):