Fix error when changing avatar in networking
This commit is contained in:
parent
143add636f
commit
dc166b9246
@ -454,7 +454,7 @@ namespace Passer.Humanoid {
|
||||
avatarNeckHeight = GetAvatarNeckHeight();
|
||||
|
||||
#if pUNITYXR
|
||||
if (headTarget.unityXR != null)
|
||||
if (isRemote == false && headTarget.unityXR != null)
|
||||
headTarget.unityXR.UpdateSensorLocation();
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user