Skip to content

Commit

Permalink
allow rates up to 3x (did some minimal testing and nothing broke but …
Browse files Browse the repository at this point in the history
…im pretty sure it was capped for a reason)
  • Loading branch information
MinaciousGrace committed May 2, 2017
1 parent c65f4f8 commit 48a799a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Themes/Til Death/Scripts/WifeSundries.lua
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function GetPlayableTime()
end

function ChangeMusicRate(rate,params)
if params.Name == "PrevScore" and rate < 1.95 and (getTabIndex() == 0 or getTabIndex() == 1) then
if params.Name == "PrevScore" and rate < 2.95 and (getTabIndex() == 0 or getTabIndex() == 1) then
GAMESTATE:GetSongOptionsObject('ModsLevel_Preferred'):MusicRate(rate+0.1)
GAMESTATE:GetSongOptionsObject('ModsLevel_Song'):MusicRate(rate+0.1)
GAMESTATE:GetSongOptionsObject('ModsLevel_Current'):MusicRate(rate+0.1)
Expand All @@ -223,7 +223,7 @@ function ChangeMusicRate(rate,params)
MESSAGEMAN:Broadcast("CurrentRateChanged")
end

if params.Name == "PrevRate" and rate < 2 and (getTabIndex() == 0 or getTabIndex() == 1) then
if params.Name == "PrevRate" and rate < 3 and (getTabIndex() == 0 or getTabIndex() == 1) then
GAMESTATE:GetSongOptionsObject('ModsLevel_Preferred'):MusicRate(rate+0.05)
GAMESTATE:GetSongOptionsObject('ModsLevel_Song'):MusicRate(rate+0.05)
GAMESTATE:GetSongOptionsObject('ModsLevel_Current'):MusicRate(rate+0.05)
Expand Down

0 comments on commit 48a799a

Please sign in to comment.