stop serializing when not ready

This commit is contained in:
Mister_Nebula 2021-07-15 13:32:05 +01:00
parent ffa521e8b8
commit 8ed62703d3

View File

@ -101,6 +101,11 @@ namespace QSB.Syncs.TransformSync
_intermediaryTransform = new IntermediaryTransform(transform);
}
if (!Player.PlayerStates.IsReady)
{
return;
}
if (ReferenceSector != null)
{
writer.Write(ReferenceSector.ObjectId);