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")
|
||||
text = file:read("string")
|
||||
end
|
||||
file:close()
|
||||
|
||||
local map = json.decode(text)
|
||||
nodes = map.nodes or {}
|
||||
|
||||
Reference in new issue
Block a user