war factory incredible hack
This commit is contained in:
@@ -197,6 +197,8 @@ namespace OpenRa.Game
|
||||
world.AddFrameEndTask(_ => world.Add(unit));
|
||||
|
||||
// todo: make the producing building play `build`
|
||||
if (producer.traits.Contains<RenderWarFactory>())
|
||||
producer.traits.Get<RenderWarFactory>().EjectUnit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user