Use lovr.system.pollEvents in lovr.errhand;

This commit is contained in:
bjorn 2023-05-10 08:46:56 +01:00
parent 211c29e8c2
commit 264bfdeadf
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ function lovr.errhand(message)
end
return function()
lovr.event.pump()
lovr.system.pollEvents()
for name, a in lovr.event.poll() do
if name == 'quit' then return a or 1