Made the event loop 11.0 friendly

This commit is contained in:
Justin van der Leij 2018-04-06 12:33:16 +02:00
parent 03648fab63
commit e1b64e2376

View file

@ -36,7 +36,7 @@ function Concord.init(settings)
local dt = 0
while true do
return function()
if love.event then
love.event.pump()
for name, a, b, c, d, e, f in love.event.poll() do