feat: restore properties

This commit is contained in:
2022-08-25 23:12:33 +04:00
parent 082e183989
commit 6a71fe5fe0
3 changed files with 43 additions and 10 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
using System;
using Ragon.Common;
namespace Ragon.Core;
@@ -20,7 +21,7 @@ public class Entity
EntityType = entityType;
EntityId = _idGenerator++;
Properties = new EntityProperty[props];
Payload = new byte[1024];
Payload = Array.Empty<byte>();
Authority = eventAuthority;
}
}