Merge pull request #7313 from Unit158/DropProductFix
Fixed airdrop production crash
This commit is contained in:
@@ -55,6 +55,9 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
|
||||
owner.World.AddFrameEndTask(w =>
|
||||
{
|
||||
if (!self.IsInWorld || self.IsDead)
|
||||
return;
|
||||
|
||||
var altitude = self.World.Map.Rules.Actors[actorType].Traits.Get<PlaneInfo>().CruiseAltitude;
|
||||
var a = w.CreateActor(actorType, new TypeDictionary
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user