Use field for setlocalposrot (#3482)

This commit is contained in:
metalgearsloth
2022-11-15 01:07:08 +11:00
committed by GitHub
parent 7120000ef5
commit 7994935b23

View File

@@ -858,7 +858,7 @@ public abstract partial class SharedTransformSystem
xform._localPosition = pos;
if (!xform.NoLocalRotation)
xform.LocalRotation = rot;
xform._localRotation = rot;
Dirty(xform);