mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Fixed a potential error in the release errhand function
This commit is contained in:
@@ -801,7 +801,7 @@ end
|
||||
function love.releaseerrhand(msg)
|
||||
print("An error has occured, the game has been stopped.")
|
||||
|
||||
if not love.graphics or not love.event or not love.graphics.isCreated() then
|
||||
if not love.window or not love.graphics or not love.event or not love.graphics.isCreated() then
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user