fix misspelling of Received
This commit is contained in:
@@ -53,7 +53,7 @@ namespace OpenRA.Mods.RA.Crates
|
|||||||
|
|
||||||
collector.AddTrait(cloak);
|
collector.AddTrait(cloak);
|
||||||
if (collector.HasTrait<TargetableUnit<TargetableUnitInfo>>())
|
if (collector.HasTrait<TargetableUnit<TargetableUnitInfo>>())
|
||||||
collector.Trait<TargetableUnit<TargetableUnitInfo>>().RecievedCloak(collector);
|
collector.Trait<TargetableUnit<TargetableUnitInfo>>().ReceivedCloak(collector);
|
||||||
|
|
||||||
w.Add(collector);
|
w.Add(collector);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -30,11 +30,11 @@ namespace OpenRA.Mods.RA
|
|||||||
public TargetableUnit( Actor self, Info info )
|
public TargetableUnit( Actor self, Info info )
|
||||||
{
|
{
|
||||||
this.info = info;
|
this.info = info;
|
||||||
RecievedCloak(self);
|
ReceivedCloak(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Arbitrary units can recieve cloak via a crate during gameplay
|
// Arbitrary units can receive cloak via a crate during gameplay
|
||||||
public void RecievedCloak(Actor self)
|
public void ReceivedCloak(Actor self)
|
||||||
{
|
{
|
||||||
Cloak = self.TraitOrDefault<Cloak>();
|
Cloak = self.TraitOrDefault<Cloak>();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user