mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
Merge branch 'master' into features/ttn
This commit is contained in:
commit
e25c163d48
1 changed files with 2 additions and 2 deletions
|
@ -170,8 +170,8 @@ class DistributedPartyJukeboxActivityBase(DistributedPartyActivity):
|
||||||
if self.music:
|
if self.music:
|
||||||
if self.__checkPartyValidity() and hasattr(base.cr.playGame.getPlace().loader, 'music') and base.cr.playGame.getPlace().loader.music:
|
if self.__checkPartyValidity() and hasattr(base.cr.playGame.getPlace().loader, 'music') and base.cr.playGame.getPlace().loader.music:
|
||||||
base.cr.playGame.getPlace().loader.music.stop()
|
base.cr.playGame.getPlace().loader.music.stop()
|
||||||
self.music.setTime(0.0)
|
self.music.setTime(getMusicRepeatTimes(length))
|
||||||
self.music.setLoopCount(getMusicRepeatTimes(length))
|
self.music.setLoopCount(0)
|
||||||
self.music.play()
|
self.music.play()
|
||||||
self.currentSongData = (phase, filename)
|
self.currentSongData = (phase, filename)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue