mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +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()
|
private void OnDetectLocalLight()
|
||||||
{
|
{
|
||||||
if (AttachedObject._fluidDetector.InFluidType(FluidVolume.Type.WATER))
|
if (AttachedObject.IsPlayerRiding())
|
||||||
{
|
{
|
||||||
TransformSync.netIdentity.UpdateAuthQueue(AuthQueueAction.Force);
|
TransformSync.netIdentity.UpdateAuthQueue(AuthQueueAction.Force);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user