forgot to fucking close the file
This commit is contained in:
1 parent
81c12b7867
commit
cea6262e30
1 file changed
+1
@@ -33,6 +33,7 @@ local function load_map(map_file_name)
|
|||||||
file:open("r")
|
file:open("r")
|
||||||
text = file:read("string")
|
text = file:read("string")
|
||||||
end
|
end
|
||||||
|
file:close()
|
||||||
|
|
||||||
local map = json.decode(text)
|
local map = json.decode(text)
|
||||||
nodes = map.nodes or {}
|
nodes = map.nodes or {}
|
||||||
|
|||||||
Reference in new issue
Block a user