Spy - add voice when sending infiltrate order

This commit is contained in:
Curtis Shmyr
2012-05-02 11:52:10 -06:00
committed by Chris Forbes
parent 4778ef803e
commit 8df09da816

View File

@@ -121,7 +121,8 @@ namespace OpenRA.Mods.RA
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)