Skip to content

Commit

Permalink
Remove "Launch Multiplayer" button (#719)
Browse files Browse the repository at this point in the history
As currently Northstar does not support launching into vanilla.
  • Loading branch information
ASpoonPlaysGames authored Nov 5, 2023
1 parent 54fae18 commit 5076bea
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down Expand Up @@ -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()

Expand Down Expand Up @@ -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 )
Expand Down

0 comments on commit 5076bea

Please sign in to comment.