mirror of https://github.com/bjornbytes/lovr.git
errhand doesn't use lovr.graphics.isInitialized;
This commit is contained in:
parent
8ed5572b0e
commit
8d58ad8533
|
@ -147,7 +147,7 @@ function lovr.errhand(message)
|
|||
|
||||
print(message)
|
||||
|
||||
if not lovr.graphics or not lovr.graphics.isInitialized() then
|
||||
if not lovr.graphics then
|
||||
return function() return 1 end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue