Add back graphics module check to errhand;

This commit is contained in:
bjorn 2023-12-01 16:50:45 -08:00
parent 4da1f26153
commit 987c029479
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ function lovr.errhand(message)
print(message)
if not lovr.graphics then
if not lovr.graphics or not lovr.graphics.isInitialized() then
return function() return 1 end
end