mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-20 15:41:01 +00:00
Update PlayerEntanglementWatcher.cs
This commit is contained in:
parent
58f85d9522
commit
767d2d0318
@ -17,13 +17,18 @@ namespace QSB.Player
|
||||
return;
|
||||
}
|
||||
|
||||
if (!WorldObjectManager.AllObjectsReady)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var controller = Locator.GetPlayerController();
|
||||
if (controller == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var collidingQuantumObject = controller.GetValue<QuantumObject>("_collidingQuantumObject");
|
||||
var collidingQuantumObject = controller._collidingQuantumObject;
|
||||
if (_previousCollidingQuantumObject != collidingQuantumObject)
|
||||
{
|
||||
var objectIndex = (collidingQuantumObject != null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user