Skip to content

Commit

Permalink
fix gd::string
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Jun 22, 2024
1 parent 8127ba5 commit 2ecaa99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ template <class L>
static Task<Result<std::filesystem::path>> promptExportLevel(L* level) {
auto opts = IMPORT_PICK_OPTIONS;
if constexpr (std::is_same_v<L, GJLevelList>) {
opts.defaultPath = level->m_listName + ".gmdl";
opts.defaultPath = std::string(level->m_listName) + ".gmdl";
}
else {
opts.defaultPath = level->m_levelName + ".gmd";
opts.defaultPath = std::string(level->m_levelName) + ".gmd";
}
return file::pick(file::PickMode::SaveFile, opts);
}
Expand Down

0 comments on commit 2ecaa99

Please sign in to comment.