mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-13 10:13:50 +00:00
fix nre in menu
This commit is contained in:
parent
6eccc40f3e
commit
01d87df804
@ -131,7 +131,7 @@ namespace QSB
|
||||
if (type == QSBPatchTypes.OnClientConnect)
|
||||
{
|
||||
Application.runInBackground = true;
|
||||
if (Locator.GetSceneMenuManager().pauseMenu.IsOpen())
|
||||
if (Locator.GetSceneMenuManager() != null && Locator.GetSceneMenuManager().pauseMenu.IsOpen())
|
||||
{
|
||||
Locator.GetSceneMenuManager().pauseMenu._pauseMenu.EnableMenu(false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user