Fix incorrect function call: string.gfind

This commit is contained in:
Wuzzy 2019-09-02 20:30:04 +02:00
parent 6cb897ee58
commit 77a46578da

View File

@ -52,7 +52,7 @@ local function load_player_skins()
local l = f:read("*l")
if l == nil then break end
for name, tex in string.gfind(l, "(.+) (.+)") do
for name, tex in string.gmatch(l, "(.+) (.+)") do
player_skins.skins[name] = tex
end
until f:read(0) == nil