mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Update ChooseLevelMenu.tscript
This commit is contained in:
parent
2c10b61847
commit
c86ceafe46
|
|
@ -433,9 +433,9 @@ function ChooseLevelMenuOption(%val)
|
|||
if(%val)
|
||||
{
|
||||
if(ChooseLevelMenu.currentMenuIdx == 0)
|
||||
ToggleGameMode(ChooseLevelMenu.listPosition);
|
||||
ToggleGameMode($MenuList.listPosition);
|
||||
else if(ChooseLevelMenu.currentMenuIdx == 1)
|
||||
ChooseLevelBegin(ChooseLevelMenu.listPosition);
|
||||
ChooseLevelBegin($MenuList.listPosition);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -536,4 +536,4 @@ function LevelPreviewButton::onHighlighted(%this, %highlighted)
|
|||
|
||||
LevelPreviewScroll.scrollToObject(%this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue