add a simple test case

This commit is contained in:
Matthias Mailänder
2014-07-27 07:34:31 +02:00
parent 405d21d797
commit e488365f85

View File

@@ -117,6 +117,7 @@ SendUnits = function(entryCell, unitTypes, interval, targetCell)
SendWave()
else
Trigger.AfterDelay(3000, SovietsRetreating)
Media.DisplayMessage("You survived the onslaught!")
end
end
@@ -129,6 +130,8 @@ SendWave = function()
local units = wave[3]
local target = Utils.Random(wave[4]).Location
Media.DisplayMessage("Defend Fort Lonestar at all costs!")
print(string.format("Sending wave %i in %i.", Wave, delay))
Trigger.AfterDelay(delay, function() SendUnits(entry, units, 40, target) end)
end