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