forgot to fucking close the file
This commit is contained in:
@@ -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