1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-19 05:32:55 +00:00

Fixes a non-existent method being used in paintutils

This commit is contained in:
SquidDev 2017-09-12 09:52:21 +01:00
parent 1fdfcdb5f2
commit 12abd4292e

View File

@ -35,7 +35,7 @@ function loadImage( sPath )
if fs.exists( sPath ) then if fs.exists( sPath ) then
local file = io.open( sPath, "r" ) local file = io.open( sPath, "r" )
local sContent = file:readAll() local sContent = file:read("*a")
file:close() file:close()
return parseImage( sContent ) -- delegate image parse to parseImage return parseImage( sContent ) -- delegate image parse to parseImage
end end