Revert "Suppress MoveIntoWorldInit for map-placed Mobile actors."

This reverts commit f0c28cc15334c7224630c375d669274f8da8fb31.
This commit is contained in:
Paul Chote
2019-10-15 20:51:16 +01:00
committed by abcdefg30
parent f5f626cd89
commit 9b4d149a06
4 changed files with 3 additions and 10 deletions

View File

@@ -41,7 +41,6 @@ namespace OpenRA.Mods.Common.Traits
var initDict = actorReference.InitDict;
initDict.Add(new SkipMakeAnimsInit());
initDict.Add(new SkipMoveIntoWorldInit());
initDict.Add(new SpawnedByMapInit(kv.Key));
if (PreventMapSpawn(world, actorReference, preventMapSpawns))
@@ -64,7 +63,6 @@ namespace OpenRA.Mods.Common.Traits
}
public class SkipMakeAnimsInit : IActorInit, ISuppressInitExport { }
public class SkipMoveIntoWorldInit : IActorInit, ISuppressInitExport { }
public class SpawnedByMapInit : IActorInit<string>, ISuppressInitExport
{
public readonly string Name;