Fix several traits missing OrderString checks for VoicePhraseForOrder

This commit is contained in:
Mustafa Alperen Seki
2019-07-16 09:16:32 +03:00
committed by Paul Chote
parent c51f2c036a
commit 30e2b69dba
3 changed files with 9 additions and 0 deletions

View File

@@ -64,6 +64,9 @@ namespace OpenRA.Mods.Common.Traits
public string VoicePhraseForOrder(Actor self, Order order)
{
if (order.OrderString != "DeliverExperience")
return null;
return info.Voice;
}