add a simple test case
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user