From b93c6b7c6e7d01f985dba323b4e0710be21ba557 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sun, 20 Aug 2023 23:53:49 -0400 Subject: [PATCH] fixes per luacheck --- graphics/elements/pipenet.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/elements/pipenet.lua b/graphics/elements/pipenet.lua index 599f1f1..fe57757 100644 --- a/graphics/elements/pipenet.lua +++ b/graphics/elements/pipenet.lua @@ -216,7 +216,7 @@ local function pipenet(args) for x = 1, args.width do for y = 1, args.height do local entry = map[x][y] ---@type _pipe_map_entry|false - local char = "" + local char local invert = false if entry ~= false then @@ -246,7 +246,7 @@ local function pipenet(args) if check(x + 1, y) then -- if right char = util.trinary(entry.atr, "\x93", "\x9c") invert = entry.atr - else -- not right + else -- not right char = util.trinary(entry.atr, "\x93", "\x94") invert = entry.atr end