fix assets.parse_model with 'xml' format

This commit is contained in:
MihailRis
2025-10-15 12:17:46 +03:00
parent da41de263d
commit ec94abccbc
6 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ function unlock_access()
end
local function reload_model(filename, name)
assets.parse_model("xml", document.editor.text, name)
assets.parse_model(file.ext(filename), document.editor.text, name)
end
function run_current_file()