diff --git a/DepthsBelow/DepthsBelow/EntityManager.cs b/DepthsBelow/DepthsBelow/EntityManager.cs index 701ced3..f4a1624 100755 --- a/DepthsBelow/DepthsBelow/EntityManager.cs +++ b/DepthsBelow/DepthsBelow/EntityManager.cs @@ -14,11 +14,6 @@ namespace DepthsBelow { public List Entities; - public List Entities - { - get { return entities; } - } - public EntityManager() { Entities = new List(); @@ -90,7 +85,7 @@ namespace DepthsBelow /// public void Update(GameTime gameTime) { - foreach (var entity in Entities) + foreach (var entity in Entities.ToList()) entity.Update(gameTime); }