Skip to content

Commit 700d551

Browse files
unbreak previewseek for multi rooms
1 parent e97af08 commit 700d551

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Themes/Til Death/BGAnimations/_chartpreview.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ local yeet
1010
local cd
1111

1212
local function UpdatePreviewPos(self)
13-
if noteField and yeet and SCREENMAN:GetTopScreen():GetName() == "ScreenSelectMusic" then
13+
if noteField and yeet and SCREENMAN:GetTopScreen():GetName() == "ScreenSelectMusic" or
14+
noteField and yeet and SCREENMAN:GetTopScreen():GetName() == "ScreenNetSelectMusic" then
1415
local pos = SCREENMAN:GetTopScreen():GetPreviewNoteFieldMusicPosition() / musicratio
1516
self:GetChild("Pos"):zoomto(math.min(pos,wodth), hidth)
1617
self:queuecommand("Highlight")

0 commit comments

Comments
 (0)