parabombs start uncharged

This commit is contained in:
Chris Forbes
2010-04-12 19:41:25 +12:00
parent 1363fa3e37
commit a50b466188

View File

@@ -39,7 +39,7 @@ namespace OpenRA.Mods.RA.Crates
var p = collector.Owner.PlayerActor.traits.WithInterface<SupportPower>()
.FirstOrDefault(sp => sp.GetType().Name == (info as SupportPowerCrateActionInfo).Power);
if (p != null) p.Give(0f);
if (p != null) p.Give(1);
base.Activate(collector);
}