diff --git a/OpenRA.Mods.Common/Scripting/Global/ReinforcementsGlobal.cs b/OpenRA.Mods.Common/Scripting/Global/ReinforcementsGlobal.cs index 7c396c18f7..b97ae916e7 100644 --- a/OpenRA.Mods.Common/Scripting/Global/ReinforcementsGlobal.cs +++ b/OpenRA.Mods.Common/Scripting/Global/ReinforcementsGlobal.cs @@ -55,7 +55,12 @@ namespace OpenRA.Mods.Common.Scripting initDict.Add(new FacingInit(facing)); } - return Context.World.CreateActor(addToWorld, actorType, initDict); + // The actor must be added to the world at the end of the tick. + var a = Context.World.CreateActor(false, actorType, initDict); + if (addToWorld) + Context.World.AddFrameEndTask(w => w.Add(a)); + + return a; } void Move(Actor actor, CPos dest)