Merge pull request #7681 from abcdefg30/startgamenotification

Allow the use of race variants in "StartGameNotification:"
This commit is contained in:
Matthias Mailänder
2015-03-20 18:08:16 +01:00

View File

@@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.Traits
public void WorldLoaded(World world, WorldRenderer wr)
{
Sound.PlayNotification(world.Map.Rules, null, "Speech", info.Notification, null);
Sound.PlayNotification(world.Map.Rules, null, "Speech", info.Notification, world.RenderPlayer == null ? null : world.RenderPlayer.Country.Race);
}
}
}