diff options
Diffstat (limited to 'builtin/fstk')
-rw-r--r-- | builtin/fstk/ui.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/builtin/fstk/ui.lua b/builtin/fstk/ui.lua index 8128c5035..3ac0386ca 100644 --- a/builtin/fstk/ui.lua +++ b/builtin/fstk/ui.lua @@ -127,11 +127,13 @@ function ui.update() end if (active_toplevel_ui_elements > 1) then - print("WARNING: ui manager detected more then one active ui element, self most likely isn't intended") + core.log("warning", "more than one active ui ".. + "element, self most likely isn't intended") end if (active_toplevel_ui_elements == 0) then - print("WARNING: not a single toplevel ui element active switching to default") + core.log("warning", "no toplevel ui element ".. + "active; switching to default") ui.childlist[ui.default]:show() formspec = ui.childlist[ui.default]:get_formspec() end |