fix case on WastedAfterwards

This commit is contained in:
Chris Forbes
2012-08-14 11:14:52 +12:00
parent fbf68db0c0
commit ecc2a7241f
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ namespace OpenRA.Mods.RA
class CapturesInfo : ITraitInfo
{
public string[] CaptureTypes = {"building"};
public bool wastedAfterwards = true;
public bool WastedAfterwards = true;
public object Create(ActorInitializer init) { return new Captures(init.self, this); }
}
@@ -108,7 +108,7 @@ namespace OpenRA.Mods.RA
if (captureTypes.Contains(ci.Type))
{
cursor = (Info.wastedAfterwards) ? (useEnterCursor(target) ? "enter" : "enter-blocked") : "attack";
cursor = (Info.WastedAfterwards) ? (useEnterCursor(target) ? "enter" : "enter-blocked") : "attack";
return true;
}