Skip to content

Commit

Permalink
fix bare frames rate changing behavior with MSD display
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Jul 18, 2020
1 parent 2a45aaf commit 1e87052
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,23 @@ t[#t+1] = Def.ActorFrame {
self:x(wheelX + arbitraryWheelXThing + space + capWideScale(get43size(365),365)-50)
self:y(20)
end,
CurrentStepsP1ChangedMessageCommand = function(self)
steps = GAMESTATE:GetCurrentSteps()
song = GAMESTATE:GetCurrentSong()
SetMeterCommand = function(self)
if steps then
meter = {}
for i = 1, #ms.SkillSets do
local m = steps:GetMSD(getCurRateValue(), i)
meter[i] = m
end
end
end,
CurrentStepsP1ChangedMessageCommand = function(self)
steps = GAMESTATE:GetCurrentSteps()
song = GAMESTATE:GetCurrentSong()
self:playcommand("SetMeter")
self:playcommand("SetStuff")
end,
CurrentRateChangedMessageCommand = function(self)
self:playcommand("SetMeter")
self:playcommand("SetStuff")
end,

Expand Down

0 comments on commit 1e87052

Please sign in to comment.