diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-07 22:25:59 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-07 22:25:59 +0100 |
commit | 07b7eafd5c1845c70510b695446c23973fed1d4d (patch) | |
tree | 8452fd02d8356a65f07089c20318a8de95975125 /bobthebob.testing/scripts/vscripts/ui/menu_mode_select.nut | |
parent | 53194543e43f8a645ba83ddb464028ba0c3b9d70 (diff) | |
download | NorthstarMods-07b7eafd5c1845c70510b695446c23973fed1d4d.tar.gz NorthstarMods-07b7eafd5c1845c70510b695446c23973fed1d4d.zip |
add fra, featured modes and some private lobby v2 stuff
Diffstat (limited to 'bobthebob.testing/scripts/vscripts/ui/menu_mode_select.nut')
-rw-r--r-- | bobthebob.testing/scripts/vscripts/ui/menu_mode_select.nut | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bobthebob.testing/scripts/vscripts/ui/menu_mode_select.nut b/bobthebob.testing/scripts/vscripts/ui/menu_mode_select.nut index b6bd6d38..23376781 100644 --- a/bobthebob.testing/scripts/vscripts/ui/menu_mode_select.nut +++ b/bobthebob.testing/scripts/vscripts/ui/menu_mode_select.nut @@ -2,7 +2,6 @@ global function InitModesMenu struct { int currentModePage - } file const int MODES_PER_PAGE = 15 @@ -105,7 +104,7 @@ void function ModeButton_Click( var button ) int modeID = int( Hud_GetScriptID( button ) ) + ( file.currentModePage * MODES_PER_PAGE ) array<string> modesArray = GetPrivateMatchModes() - string modeName = modesArray[mapID] + string modeName = modesArray[ modeID ] // on modded servers set us to the first map for that mode automatically // need this for coliseum mainly which is literally impossible to select without this |