Browse Source

Fix double loading of image

nagadomi 9 năm trước cách đây
mục cha
commit
84c38baab7
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      lib/image_loader.lua

+ 0 - 1
lib/image_loader.lua

@@ -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]