Remove worthless function from Allies08

This commit is contained in:
Smittytron
2020-06-05 18:13:29 -05:00
committed by abcdefg30
parent 86992751c7
commit 6d5a5121bc
2 changed files with 2 additions and 24 deletions

View File

@@ -74,18 +74,6 @@ CreateScientists = function()
end)
end
FinishTimer = function()
for i = 0, 5 do
local c = TimerColor
if i % 2 == 0 then
c = HSLColor.White
end
Trigger.AfterDelay(DateTime.Seconds(i), function() UserInterface.SetMissionText("The experiment is a success!", c) end)
end
Trigger.AfterDelay(DateTime.Seconds(6), function() UserInterface.SetMissionText("") end)
end
DefendChronosphereCompleted = function()
local cells = Utils.ExpandFootprint({ ChronoshiftLocation.Location }, false)
local units = { }
@@ -94,6 +82,7 @@ DefendChronosphereCompleted = function()
units[unit] = cells[i]
end
Chronosphere.Chronoshift(units)
UserInterface.SetMissionText("The experiment is a success!", greece.Color)
Trigger.AfterDelay(DateTime.Seconds(3), function()
greece.MarkCompletedObjective(DefendChronosphere)

View File

@@ -74,18 +74,6 @@ CreateScientists = function()
end)
end
FinishTimer = function()
for i = 0, 5 do
local c = TimerColor
if i % 2 == 0 then
c = HSLColor.White
end
Trigger.AfterDelay(DateTime.Seconds(i), function() UserInterface.SetMissionText("The experiment is a success!", c) end)
end
Trigger.AfterDelay(DateTime.Seconds(6), function() UserInterface.SetMissionText("") end)
end
DefendChronosphereCompleted = function()
local cells = Utils.ExpandFootprint({ ChronoshiftLocation.Location }, false)
local units = { }
@@ -94,6 +82,7 @@ DefendChronosphereCompleted = function()
units[unit] = cells[i]
end
Chronosphere.Chronoshift(units)
UserInterface.SetMissionText("The experiment is a success!", greece.Color)
Trigger.AfterDelay(DateTime.Seconds(3), function()
greece.MarkCompletedObjective(DefendChronosphere)