mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 18:40:03 +00:00
fix NRE in initpausemenus
This commit is contained in:
parent
b1b1e45289
commit
58f85d9522
@ -176,7 +176,7 @@ namespace QSB.Menus
|
|||||||
|
|
||||||
DisconnectButton = MenuApi.PauseMenu_MakeMenuOpenButton("DISCONNECT", DisconnectPopup);
|
DisconnectButton = MenuApi.PauseMenu_MakeMenuOpenButton("DISCONNECT", DisconnectPopup);
|
||||||
|
|
||||||
QuitButton = Locator.GetSceneMenuManager().pauseMenu._exitToMainMenuAction.gameObject;
|
QuitButton = FindObjectOfType<PauseMenuManager>()._exitToMainMenuAction.gameObject;
|
||||||
|
|
||||||
if (QSBCore.IsInMultiplayer)
|
if (QSBCore.IsInMultiplayer)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user