mirror of
https://github.com/pyrollo/display_modpack.git
synced 2025-10-15 16:45:35 +02:00
Add luacheck, update translations, replace ABMs, bug fixes (#1)
* luacheck, mt 5 translation, german translation, maintenance * fix luacheck warnings * Fix digital clock nodebox and texture * Fix luacheck usage * Add comment why fonts are not split into several lines
This commit is contained in:
@@ -58,12 +58,9 @@ local function get_default_font()
|
||||
end
|
||||
end
|
||||
|
||||
-- If failed, chose first font
|
||||
-- If failed, choose the first registered font
|
||||
if default_font == nil then
|
||||
for _, font in pairs(font_api.registered_fonts) do
|
||||
default_font = font
|
||||
break
|
||||
end
|
||||
default_font = next(font_api.registered_fonts)
|
||||
end
|
||||
|
||||
-- Error, no font registered
|
||||
|
Reference in New Issue
Block a user