Rename Win -> MissionAccomplished and Lose -> MissionFailed

But keep them in notifications.yaml for backwards compatibility.
This commit is contained in:
abcdefg30
2015-01-06 12:09:25 +01:00
parent 4a1e0a44d5
commit d9572d4ca4
8 changed files with 16 additions and 14 deletions

View File

@@ -227,11 +227,11 @@ WorldLoaded = function()
end)
Trigger.OnPlayerWon(player, function()
Media.PlaySpeechNotification(player, "Win")
Media.PlaySpeechNotification(player, "MissionAccomplished")
end)
Trigger.OnPlayerLost(player, function()
Media.PlaySpeechNotification(player, "Lose")
Media.PlaySpeechNotification(player, "MissionFailed")
end)
sovietObjective = soviets.AddPrimaryObjective("Destroy the village.")