From 828da0d3da3a279c970e5ee931dca579123a6b46 Mon Sep 17 00:00:00 2001 From: edmand46 Date: Wed, 22 Mar 2023 11:04:14 +0400 Subject: [PATCH] fix: wrong initial capacity --- Ragon.Server/Sources/Entity/RagonEntityState.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ragon.Server/Sources/Entity/RagonEntityState.cs b/Ragon.Server/Sources/Entity/RagonEntityState.cs index 4bfecff..bfccd59 100644 --- a/Ragon.Server/Sources/Entity/RagonEntityState.cs +++ b/Ragon.Server/Sources/Entity/RagonEntityState.cs @@ -27,7 +27,7 @@ public class RagonEntityState public RagonEntityState(RagonEntity entity, int capacity = 10) { _entity = entity; - _properties = new List(10); + _properties = new List(capacity); } public void AddProperty(RagonProperty property)