Fix several traits missing OrderString checks for VoicePhraseForOrder
This commit is contained in:
committed by
Paul Chote
parent
c51f2c036a
commit
30e2b69dba
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user