This commit is contained in:
in0finite 2022-01-28 00:37:53 +01:00
parent 2f30e2b5b8
commit 3813d5b0f4

View file

@ -14,7 +14,7 @@ namespace SanAndreasUnity.Behaviours.World
{
public class Cell : Utilities.SingletonComponent<Cell>
{
private Dictionary<Instance, StaticGeometry> m_insts;
private Dictionary<Instance, StaticGeometry> m_insts = new Dictionary<Instance, StaticGeometry>();
public IReadOnlyDictionary<Instance, StaticGeometry> StaticGeometries => m_insts;
public int NumStaticGeometries => m_insts.Count;
private MapObject[] m_cars;