Skip to content

Commit 1f44dae

Browse files
committed
CDGraph timing should also use new steps second thing
1 parent 06a623b commit 1f44dae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Themes/Til Death/BGAnimations/_chartpreview.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,11 @@ local t = Def.ActorFrame {
7979
end,
8080
CurrentSongChangedMessageCommand=function(self)
8181
self:GetChild("pausetext"):settext("")
82+
83+
end,
84+
CurrentStepsP1ChangedMessageCommand = function(self)
8285
if GAMESTATE:GetCurrentSong() then
83-
musicratio = GAMESTATE:GetCurrentSong():GetLastSecond() / wodth
86+
musicratio = GAMESTATE:GetCurrentSteps():GetLengthSeconds() / wodth
8487
end
8588
end,
8689
MouseRightClickMessageCommand=function(self)

0 commit comments

Comments
 (0)