Skip to content

Commit

Permalink
修正生成物编后无法保存地图的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Jul 9, 2019
1 parent ce78ed9 commit 86e61d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Development/Component/compiler/script/slk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ trg = event.on('编译地图', function (success)
return
end
import_files = {}
log.trace('Refresh object start', map_path)
log.trace('Refresh object start', map_path:string())
local report = slk:refresh()
log.trace('Refresh object finish')
if #report > 0 then
gui.message(nil, report)
for filename, buf in pairs(import_files) do
local file_path = map_path / filename
log.info('Import customdata', filename, type_map[filename], file_path)
log.info('Import customdata', filename, type_map[filename], file_path:string())
io.save(file_path, buf)
we.import_customdata(type_map[filename], file_path)
end
Expand Down

0 comments on commit 86e61d4

Please sign in to comment.