mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add 'data' argument to http error callback
This commit is contained in:
parent
20c5edb495
commit
7d6ddfa535
5 changed files with 35 additions and 37 deletions
|
|
@ -273,7 +273,7 @@ network.__process_events = function()
|
|||
_http_response_callbacks[event[3]] = nil
|
||||
_http_error_callbacks[event[3]] = nil
|
||||
if callback then
|
||||
callback(event[2])
|
||||
callback(event[2], event[4])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue