Fix and polish all ra production structures; remove some obsoleted Production subclasses
This commit is contained in:
@@ -105,7 +105,7 @@ namespace OpenRA.Mods.RA
|
||||
reservation = res.Reserve(self);
|
||||
|
||||
var pi = order.TargetActor.traits.Get<Production>();
|
||||
var offset = pi != null ? pi.Spawns.First().Key : float2.Zero;
|
||||
var offset = pi != null ? pi.Spawns.First().First : float2.Zero;
|
||||
|
||||
if (self.Owner == self.World.LocalPlayer)
|
||||
self.World.AddFrameEndTask(w =>
|
||||
|
||||
Reference in New Issue
Block a user