Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw committed Nov 27, 2021
1 parent ce064c5 commit 5b250d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/WelcomeMessages.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ newInstance = function(ScenarioInfo, options, textPrinter)
return difficultyNames[ScenarioInfo.Options.opt_FinalRushDifficulty]
end

local function showGameVersionMessage(printer)
printer.print(
local function showGameVersionMessage()
textPrinter.print(
string.rep(" ", 12) .. "Welcome to Survival Versus v" .. ScenarioInfo.map_version,
{ color = "ffafdde4", duration = WELCOME_MESSAGE_DURATION, location = "leftcenter", size = 35 }
)

printer.print(
textPrinter.print(
string.rep(" ", 20) .. "by EntropyWins",
{ color = "ffafdde4", duration = WELCOME_MESSAGE_DURATION, location = "leftcenter" }
)
Expand Down Expand Up @@ -125,7 +125,7 @@ newInstance = function(ScenarioInfo, options, textPrinter)
return {
startDisplay = function()
ForkThread(function()
showGameVersionMessage(newPrinter(WELCOME_MESSAGE_DURATION))
showGameVersionMessage()

WaitSeconds(WELCOME_MESSAGE_DURATION + 0.05)
showGameSettingsMessage(newPrinter(SETTINGS_MESSAGE_DURATION))
Expand Down

0 comments on commit 5b250d7

Please sign in to comment.