Rename Win -> MissionAccomplished and Lose -> MissionFailed
But keep them in notifications.yaml for backwards compatibility.
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user