Fix defaulting to minetest.encode_png

This commit is contained in:
Lars Mueller 2021-10-21 17:51:18 +02:00
parent ca146ff265
commit 25aa5c6e82

@ -1,5 +1,6 @@
if minetest.encode_png then
return minetest.encode_png
(...).encode_png = minetest.encode_png
return
end
local assert, char, ipairs, insert, concat, floor = assert, string.char, ipairs, table.insert, table.concat, math.floor