mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 01:13:05 +00:00
fix QM inside not loading for clients
This commit is contained in:
parent
4800123ddb
commit
4ce0c844a1
@ -130,7 +130,7 @@ internal class QuantumManager : WorldObjectManager
|
|||||||
{
|
{
|
||||||
foreach (var quantumObject in QSBWorldSync.GetWorldObjects<IQSBQuantumObject>())
|
foreach (var quantumObject in QSBWorldSync.GetWorldObjects<IQSBQuantumObject>())
|
||||||
{
|
{
|
||||||
if (quantumObject.ControllingPlayer == QSBPlayerManager.LocalPlayerId)
|
if (quantumObject.ControllingPlayer == QSBPlayerManager.LocalPlayerId || quantumObject.HostControls)
|
||||||
{
|
{
|
||||||
quantumObject.OnTakeProbeSnapshot(player, cameraId);
|
quantumObject.OnTakeProbeSnapshot(player, cameraId);
|
||||||
}
|
}
|
||||||
@ -141,7 +141,7 @@ internal class QuantumManager : WorldObjectManager
|
|||||||
{
|
{
|
||||||
foreach (var quantumObject in QSBWorldSync.GetWorldObjects<IQSBQuantumObject>())
|
foreach (var quantumObject in QSBWorldSync.GetWorldObjects<IQSBQuantumObject>())
|
||||||
{
|
{
|
||||||
if (quantumObject.ControllingPlayer == QSBPlayerManager.LocalPlayerId)
|
if (quantumObject.ControllingPlayer == QSBPlayerManager.LocalPlayerId || quantumObject.HostControls)
|
||||||
{
|
{
|
||||||
quantumObject.OnRemoveProbeSnapshot(player);
|
quantumObject.OnRemoveProbeSnapshot(player);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user