From 359e52ed113d7c1450c0aea70ccbdb8fead24416 Mon Sep 17 00:00:00 2001 From: jp187187 Date: Thu, 16 Jul 2015 08:12:20 -0700 Subject: [PATCH] Fix Jukeboxes for estates parties and no conflict with TV loop needs int not float and time is float and loop was set to getMusicRepeatTimes(length) this is time not loop --- toontown/parties/DistributedPartyJukeboxActivityBase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toontown/parties/DistributedPartyJukeboxActivityBase.py b/toontown/parties/DistributedPartyJukeboxActivityBase.py index 60cf30a9..940b6a5e 100755 --- a/toontown/parties/DistributedPartyJukeboxActivityBase.py +++ b/toontown/parties/DistributedPartyJukeboxActivityBase.py @@ -170,8 +170,8 @@ class DistributedPartyJukeboxActivityBase(DistributedPartyActivity): if self.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() - self.music.setTime(0.0) - self.music.setLoopCount(getMusicRepeatTimes(length)) + self.music.setTime(getMusicRepeatTimes(length)) + self.music.setLoopCount(0) self.music.play() self.currentSongData = (phase, filename)