Spy - add voice when sending infiltrate order
This commit is contained in:
committed by
Chris Forbes
parent
4778ef803e
commit
8df09da816
@@ -121,7 +121,8 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
public string VoicePhraseForOrder(Actor self, Order order)
|
public string VoicePhraseForOrder(Actor self, Order order)
|
||||||
{
|
{
|
||||||
return order.OrderString == "Disguise" ? "Attack" : null;
|
return (order.OrderString == "Disguise"
|
||||||
|
|| order.OrderString == "SpyInfiltrate") ? "Attack" : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Color RadarColorOverride(Actor self)
|
public Color RadarColorOverride(Actor self)
|
||||||
|
|||||||
Reference in New Issue
Block a user