Skip to content

Commit 69480f0

Browse files
test
Fixing a bug with one of the tests (evidently was not caught using the previous BLI)
1 parent 877f4cc commit 69480f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Tests/Runtime/NetworkTransform/NetworkTransformGeneral.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public void TestMultipleExplicitSetStates([Values] Interpolation interpolation)
268268
[Test]
269269
public void NonAuthorityOwnerSettingStateTest([Values] Interpolation interpolation)
270270
{
271-
var interpolate = interpolation != Interpolation.EnableInterpolate;
271+
var interpolate = interpolation == Interpolation.EnableInterpolate;
272272
m_AuthoritativeTransform.Interpolate = interpolate;
273273
m_NonAuthoritativeTransform.Interpolate = interpolate;
274274
m_NonAuthoritativeTransform.RotAngleThreshold = m_AuthoritativeTransform.RotAngleThreshold = 0.1f;

0 commit comments

Comments
 (0)