Removed hard coded WeaponInfo section name from NukeLaunch
This commit is contained in:
@@ -57,8 +57,8 @@ namespace OpenRA.Traits
|
||||
if (Owner != Owner.World.LocalPlayer)
|
||||
Sound.Play("alaunch1.aud");
|
||||
|
||||
// TODO: FIRE ZE MISSILES
|
||||
w.Add(new NukeLaunch(silo, order.TargetLocation));
|
||||
//FIRE ZE MISSILES
|
||||
w.Add(new NukeLaunch(silo, Info.MissileWeapon, order.TargetLocation));
|
||||
});
|
||||
|
||||
Game.controller.CancelInputMode();
|
||||
|
||||
@@ -33,6 +33,7 @@ namespace OpenRA.Traits
|
||||
public readonly string[] Prerequisites = { };
|
||||
public readonly int TechLevel = -1;
|
||||
public readonly bool GivenAuto = true;
|
||||
public readonly string MissileWeapon = "";
|
||||
|
||||
public abstract object Create(Actor self);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user