From d29e6c2ec30cdba2562a832a3c6fb095e81cfc31 Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 5 Jan 2024 14:23:34 -0800 Subject: [PATCH] Fix warning message when requiring module fails; --- etc/boot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/boot.lua b/etc/boot.lua index cfcc5566..72ff56e4 100644 --- a/etc/boot.lua +++ b/etc/boot.lua @@ -121,7 +121,7 @@ function lovr.boot() if conf.modules[module] then local loaded, result = pcall(require, 'lovr.' .. module) if not loaded then - lovr.log('warn', string.format('Could not load module %q: %s', module, result)) + lovr.log(string.format('Could not load module %q: %s', module, result), 'warn') else lovr[module] = result end