Rename callback: errhand to errorhandler

This commit is contained in:
Matthias Richter 2018-05-05 13:38:36 +02:00
parent 7642755b99
commit a905c592a9

View File

@ -75,9 +75,10 @@ function GS.current()
end
-- fetch event callbacks from love.handlers
local all_callbacks = { 'draw', 'errhand', 'update' }
local all_callbacks = { 'draw', 'errorhandler', 'update' }
for k in pairs(love.handlers) do
all_callbacks[#all_callbacks+1] = k
print(k)
end
function GS.registerEvents(callbacks)