mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
corrected the answer
This commit is contained in:
parent
baf5002560
commit
d99652873b
@ -159,7 +159,7 @@ public void SerializationMismatch()
|
||||
out SerializeTest2NetworkBehaviour comp);
|
||||
|
||||
// set some unique values to serialize
|
||||
comp.value = "67890";
|
||||
comp.value = "42";
|
||||
|
||||
// serialize
|
||||
identity.OnSerializeAllSafely(true, ownerWriter, observersWriter);
|
||||
@ -176,7 +176,7 @@ public void SerializationMismatch()
|
||||
|
||||
// the mismatch component will fail, but the one before and after
|
||||
// should still work fine. that's the whole point.
|
||||
Assert.That(comp.value, Is.EqualTo("67890"));
|
||||
Assert.That(comp.value, Is.EqualTo("42"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user