mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 09:39:56 +00:00
fix quit button
This commit is contained in:
parent
a90677bfd5
commit
2f424bdf06
@ -176,7 +176,7 @@ namespace QSB.Menus
|
||||
|
||||
DisconnectButton = MenuApi.PauseMenu_MakeMenuOpenButton("DISCONNECT", DisconnectPopup);
|
||||
|
||||
QuitButton = Resources.FindObjectsOfTypeAll<SubmitActionLoadScene>().First(x => x.name == "Button-ExitToMainMenu").gameObject;
|
||||
QuitButton = Locator.GetSceneMenuManager().pauseMenu._exitToMainMenuAction.gameObject;
|
||||
|
||||
if (QSBCore.IsInMultiplayer)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user