fixed: ownership changing

This commit is contained in:
2022-10-02 16:00:34 +04:00
parent 85081e1da7
commit 5771ec738b
2 changed files with 24 additions and 13 deletions
+2
View File
@@ -28,6 +28,8 @@ public class Entity
Authority = eventAuthority;
}
public void UpdateOwner(ushort ownerId) => OwnerId = ownerId;
public void ReplicateProperties(RagonSerializer serializer)
{
serializer.WriteUShort(EntityId);