Fix default lovr.log printing gsub result;

This commit is contained in:
bjorn 2022-12-30 21:39:52 -08:00
parent fe3c383247
commit fe353ea243
1 changed files with 2 additions and 1 deletions

View File

@ -227,7 +227,8 @@ function lovr.threaderror(thread, err)
end
function lovr.log(message, level, tag)
print(message:gsub('\n$', ''))
message = message:gsub('\n$', '')
print(message)
end
return function()