fix QM inside not loading for clients

This commit is contained in:
_nebula 2023-02-08 12:10:17 +00:00
parent 4800123ddb
commit 4ce0c844a1

View File

@ -130,7 +130,7 @@ internal class QuantumManager : WorldObjectManager
{
foreach (var quantumObject in QSBWorldSync.GetWorldObjects<IQSBQuantumObject>())
{
if (quantumObject.ControllingPlayer == QSBPlayerManager.LocalPlayerId)
if (quantumObject.ControllingPlayer == QSBPlayerManager.LocalPlayerId || quantumObject.HostControls)
{
quantumObject.OnTakeProbeSnapshot(player, cameraId);
}
@ -141,7 +141,7 @@ internal class QuantumManager : WorldObjectManager
{
foreach (var quantumObject in QSBWorldSync.GetWorldObjects<IQSBQuantumObject>())
{
if (quantumObject.ControllingPlayer == QSBPlayerManager.LocalPlayerId)
if (quantumObject.ControllingPlayer == QSBPlayerManager.LocalPlayerId || quantumObject.HostControls)
{
quantumObject.OnRemoveProbeSnapshot(player);
}