1
0
Fork 0
mirror of synced 2024-06-13 08:24:30 +12:00

Fix double loading of image

This commit is contained in:
nagadomi 2015-11-07 07:33:41 +09:00
parent 3ea16b3b86
commit 84c38baab7

View file

@ -78,7 +78,6 @@ function image_loader.decode_byte(blob)
end
return {im, alpha, blob}
end
load_image()
local state, ret = pcall(load_image)
if state then
return ret[1], ret[2], ret[3]