We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 877f4cc commit 69480f0Copy full SHA for 69480f0
1 file changed
com.unity.netcode.gameobjects/Tests/Runtime/NetworkTransform/NetworkTransformGeneral.cs
@@ -268,7 +268,7 @@ public void TestMultipleExplicitSetStates([Values] Interpolation interpolation)
268
[Test]
269
public void NonAuthorityOwnerSettingStateTest([Values] Interpolation interpolation)
270
{
271
- var interpolate = interpolation != Interpolation.EnableInterpolate;
+ var interpolate = interpolation == Interpolation.EnableInterpolate;
272
m_AuthoritativeTransform.Interpolate = interpolate;
273
m_NonAuthoritativeTransform.Interpolate = interpolate;
274
m_NonAuthoritativeTransform.RotAngleThreshold = m_AuthoritativeTransform.RotAngleThreshold = 0.1f;
0 commit comments