Update ChooseLevelMenu.tscript

This commit is contained in:
Sir-Skurpsalot 2025-12-17 23:55:53 -07:00 committed by GitHub
parent 2c10b61847
commit c86ceafe46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -433,9 +433,9 @@ function ChooseLevelMenuOption(%val)
if(%val) if(%val)
{ {
if(ChooseLevelMenu.currentMenuIdx == 0) if(ChooseLevelMenu.currentMenuIdx == 0)
ToggleGameMode(ChooseLevelMenu.listPosition); ToggleGameMode($MenuList.listPosition);
else if(ChooseLevelMenu.currentMenuIdx == 1) else if(ChooseLevelMenu.currentMenuIdx == 1)
ChooseLevelBegin(ChooseLevelMenu.listPosition); ChooseLevelBegin($MenuList.listPosition);
} }
} }
@ -536,4 +536,4 @@ function LevelPreviewButton::onHighlighted(%this, %highlighted)
LevelPreviewScroll.scrollToObject(%this); LevelPreviewScroll.scrollToObject(%this);
} }
} }