change whitespace-only lines to empty lines in Lua scripts

This commit is contained in:
Taryn Hill
2020-08-14 07:44:47 -05:00
committed by abcdefg30
parent a847f3eafa
commit 8a74f6ea18
3 changed files with 15 additions and 15 deletions

View File

@@ -76,14 +76,14 @@ WorldLoaded = function()
USSR = Player.GetPlayer("USSR")
Germany = Player.GetPlayer("Germany")
Greece = Player.GetPlayer("Greece")
Trigger.OnObjectiveAdded(USSR, function(p, id)
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
end)
DestroyTruck = USSR.AddObjective("Destroy the stolen convoy truck.\nDo not let it escape.")
DefendCommand = USSR.AddObjective("Defend our forward command center.")
Trigger.OnObjectiveCompleted(USSR, function(p, id)
Media.DisplayMessage(p.GetObjectiveDescription(id), "Objective completed")
end)