Lazy actor loading

This commit is contained in:
Paul Chote
2011-02-11 21:35:37 +13:00
parent c2db816837
commit 79f3fccceb
5 changed files with 41 additions and 30 deletions

View File

@@ -21,7 +21,7 @@ namespace OpenRA.Mods.RA
public void WorldLoaded(World world)
{
foreach (var actorReference in world.Map.Actors)
foreach (var actorReference in world.Map.Actors.Value)
{
var initDict = actorReference.Value.InitDict;
initDict.Add(new SkipMakeAnimsInit());