fix: wrong initial capacity
This commit is contained in:
@@ -27,7 +27,7 @@ public class RagonEntityState
|
|||||||
public RagonEntityState(RagonEntity entity, int capacity = 10)
|
public RagonEntityState(RagonEntity entity, int capacity = 10)
|
||||||
{
|
{
|
||||||
_entity = entity;
|
_entity = entity;
|
||||||
_properties = new List<RagonProperty>(10);
|
_properties = new List<RagonProperty>(capacity);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddProperty(RagonProperty property)
|
public void AddProperty(RagonProperty property)
|
||||||
|
|||||||
Reference in New Issue
Block a user