forgot to fucking close the file

This commit is contained in:
2025-12-27 06:01:27 +00:00
parent 81c12b7867
commit cea6262e30

View File

@@ -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 {}