Raft: only do light auth thingy when you're actually in that raft

This commit is contained in:
JohnCorby 2022-02-26 00:42:05 -08:00
parent 7cef229cd7
commit 91a7499352

View File

@ -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);
}