Skip to content

Commit d7e77d3

Browse files
committed
Fix occasionally incorrect progress bar slider for Replays
1 parent 2726864 commit d7e77d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,9 +689,9 @@ local replaySlider =
689689
Widg.SliderBase {
690690
width = width,
691691
height = height,
692-
min = 0,
692+
min = GAMESTATE:GetCurrentSong():GetFirstSecond(),
693693
visible = true,
694-
max = GAMESTATE:GetCurrentSong():MusicLengthSeconds(),
694+
max = GAMESTATE:GetCurrentSong():GetLastSecond(),
695695
onInit = function(slider)
696696
slider.actor:diffusealpha(0)
697697
end,

0 commit comments

Comments
 (0)