Fix another string.gfind call ...

This commit is contained in:
Wuzzy 2019-09-06 10:25:12 +02:00
parent bc3ece2d83
commit 6db816ca34
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ function village.load_villages()
local l = f:read("*l")
if l == nil then break end
for name, fname, pos in string.gfind(l, "(.+) (%a+) (%d.+)") do
for name, fname, pos in string.gmatch(l, "(.+) (%a+) (%d.+)") do
village.villages[name] = {
name = fname,
pos = minetest.get_position_from_hash(pos),