mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
fix statuemanager init-ing when not in multiplayer
This commit is contained in:
parent
ea84385139
commit
a29a1b7801
@ -20,6 +20,11 @@ namespace QSB.StatueSync
|
|||||||
|
|
||||||
private void OnUniverseSceneLoaded(OWScene oldScene, OWScene newScene)
|
private void OnUniverseSceneLoaded(OWScene oldScene, OWScene newScene)
|
||||||
{
|
{
|
||||||
|
if (!QSBCore.IsInMultiplayer)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
QSBPlayerManager.ShowAllPlayers();
|
QSBPlayerManager.ShowAllPlayers();
|
||||||
QSBPlayerManager.LocalPlayer.UpdateStatesFromObjects();
|
QSBPlayerManager.LocalPlayer.UpdateStatesFromObjects();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user