mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 01:13:05 +00:00
Raft: only do light auth thingy when you're actually in that raft
This commit is contained in:
parent
7cef229cd7
commit
91a7499352
@ -51,7 +51,7 @@ public class QSBRaft : WorldObject<RaftController>
|
||||
|
||||
private void OnDetectLocalLight()
|
||||
{
|
||||
if (AttachedObject._fluidDetector.InFluidType(FluidVolume.Type.WATER))
|
||||
if (AttachedObject.IsPlayerRiding())
|
||||
{
|
||||
TransformSync.netIdentity.UpdateAuthQueue(AuthQueueAction.Force);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user