mirror of
https://github.com/minetest-mods/digilines.git
synced 2024-12-05 02:33:49 +01:00
Fix LuaCheck warning (#69)
This commit is contained in:
parent
ff525c09a4
commit
af4a699e19
3
lcd.lua
3
lcd.lua
@ -84,9 +84,8 @@ local create_lines = function(text)
|
||||
line = word
|
||||
end
|
||||
else
|
||||
if word == " " then
|
||||
-- don't add the space since we have a line break
|
||||
else
|
||||
if word ~= " " then
|
||||
if line_len > 0 then
|
||||
-- ok, we need the new line
|
||||
if flush_line_and_check_for_return() then return tab end
|
||||
|
Loading…
Reference in New Issue
Block a user