mirror of
https://github.com/vrld/hump.git
synced 2024-11-23 12:24:19 +00:00
Rename callback: errhand to errorhandler
This commit is contained in:
parent
7642755b99
commit
a905c592a9
@ -75,9 +75,10 @@ function GS.current()
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- fetch event callbacks from love.handlers
|
-- 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
|
for k in pairs(love.handlers) do
|
||||||
all_callbacks[#all_callbacks+1] = k
|
all_callbacks[#all_callbacks+1] = k
|
||||||
|
print(k)
|
||||||
end
|
end
|
||||||
|
|
||||||
function GS.registerEvents(callbacks)
|
function GS.registerEvents(callbacks)
|
||||||
|
Loading…
Reference in New Issue
Block a user