mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Black cats shouldn't be on every single 13th + racing tempo back to normal, but music needs to be fixed lel.
This commit is contained in:
parent
f6e77208bb
commit
93004f9c20
2 changed files with 5 additions and 4 deletions
|
@ -28,8 +28,9 @@ Holidays = {
|
|||
'endMessage': TTLocalizer.SillySaturdayEnd
|
||||
},
|
||||
ToontownGlobals.BLACK_CAT_DAY: {
|
||||
'startDay': 13,
|
||||
'endDay': 13,
|
||||
'startMonth': 10,
|
||||
'startDay': 31,
|
||||
'endDay': 31,
|
||||
'startMessage': TTLocalizer.BlackCatHolidayStart,
|
||||
'ongoingMessage': TTLocalizer.BlackCatHolidayStart,
|
||||
'endMessage': TTLocalizer.BlackCatHolidayEnd
|
||||
|
|
|
@ -551,14 +551,14 @@ class DistributedRace(DistributedObject.DistributedObject):
|
|||
newLapT = (newT - self.startT) / self.curve.getMaxT() % 1.0
|
||||
if newLapT - self.currLapT < -0.5:
|
||||
self.laps += 1
|
||||
self.changeMusicTempo(1 + self.laps * 0.33)
|
||||
self.changeMusicTempo(1 + self.laps * 0.5)
|
||||
self.notify.debug('crossed the start line: %s, %s, %s, %s' % (self.laps,
|
||||
self.startT,
|
||||
self.currT,
|
||||
newT))
|
||||
elif newLapT - self.currLapT > 0.5:
|
||||
self.laps -= 1
|
||||
self.changeMusicTempo(1 + self.laps * 0.33)
|
||||
self.changeMusicTempo(1 + self.laps * 0.5)
|
||||
self.notify.debug('crossed the start line - wrong way: %s, %s, %s, %s' % (self.laps,
|
||||
self.startT,
|
||||
self.currT,
|
||||
|
|
Loading…
Reference in a new issue