aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2023-11-05 12:26:59 +0000
committerGitHub <noreply@github.com>2023-11-05 13:26:59 +0100
commit5076bea54cfb2f88d5420ede0c207fb77dc5be05 (patch)
tree63e97ed4640025e7fe7df5c316a296d05451d4c1 /Northstar.Client
parent54fae18d727aa84fb6eb45de4f9479aba3361158 (diff)
downloadNorthstarMods-5076bea54cfb2f88d5420ede0c207fb77dc5be05.tar.gz
NorthstarMods-5076bea54cfb2f88d5420ede0c207fb77dc5be05.zip
Remove "Launch Multiplayer" button (#719)
As currently Northstar does not support launching into vanilla.
Diffstat (limited to 'Northstar.Client')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut11
1 files changed, 7 insertions, 4 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut
index c97c8cdc..2f1bcf02 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut
@@ -81,8 +81,9 @@ void function InitMainMenuPanel()
headerIndex++
buttonIndex = 0
var multiplayerHeader = AddComboButtonHeader( comboStruct, headerIndex, "#MULTIPLAYER_ALLCAPS" )
- file.mpButton = AddComboButton( comboStruct, headerIndex, buttonIndex++, "#MULTIPLAYER_LAUNCH" )
- Hud_AddEventHandler( file.mpButton, UIE_CLICK, OnPlayMPButton_Activate )
+ // "Launch Multiplayer" button removed because we don't support vanilla yet :clueless:
+ //file.mpButton = AddComboButton( comboStruct, headerIndex, buttonIndex++, "#MULTIPLAYER_LAUNCH" )
+ //Hud_AddEventHandler( file.mpButton, UIE_CLICK, OnPlayMPButton_Activate )
file.fdButton = AddComboButton( comboStruct, headerIndex, buttonIndex++, "#MENU_LAUNCH_NORTHSTAR" )
Hud_AddEventHandler( file.fdButton, UIE_CLICK, OnPlayFDButton_Activate )
Hud_SetLocked( file.fdButton, true )
@@ -169,7 +170,8 @@ void function OnShowMainMenuPanel()
#endif // PS4_PROG
UpdateSPButtons()
- thread UpdatePlayButton( file.mpButton )
+ // dont try and update the launch multiplayer button, because it doesn't exist
+ //thread UpdatePlayButton( file.mpButton )
thread UpdatePlayButton( file.fdButton )
thread MonitorTrialVersionChange()
@@ -459,7 +461,8 @@ void function UpdatePlayButton( var button )
message = ""
}
- ComboButton_SetText( file.mpButton, buttonText )
+ // dont try and update the launch multiplayer button, because it doesn't exist
+ //ComboButton_SetText( file.mpButton, buttonText )
ComboButton_SetText( file.fdButton, "#MENU_LAUNCH_NORTHSTAR" )
//Hud_SetEnabled( file.fdButton, false )