Skip to content

Commit

Permalink
Dealing with luacheck
Browse files Browse the repository at this point in the history
  • Loading branch information
a-blob committed Nov 23, 2023
1 parent 39e68aa commit 64a7f3d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mods/ctf/ctf_combat/ctf_combat_mode/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ local healers = {}

ctf_combat_mode = {}

local suffocation_message = ""

local function update(player)
local combat = hitters[player]

Expand All @@ -13,10 +15,6 @@ local function update(player)
return
end

if not suffocation_message then
local suffocation_message = ""
end

local hud_message = "You are in combat [%ds left] \n%s"
hud_message = hud_message:format(combat.time, suffocation_message)

Expand Down

0 comments on commit 64a7f3d

Please sign in to comment.