mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Update ChooseLevelMenu.tscript
This commit is contained in:
parent
2c10b61847
commit
c86ceafe46
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue