Skip to content

Commit

Permalink
android testing
Browse files Browse the repository at this point in the history
  • Loading branch information
user95401 committed Jul 14, 2024
1 parent 62a0a06 commit f636588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ namespace mle_leveltools {
}
inline auto updateLevelDataAndMetaFiles(gd::string str, GJGameLevel* level) {
level->m_levelString = str;
return;
level = replaceUserCoinsBySecretOnesInLevel(level);
return;
auto level_path_to_save = (levels_path / fmt::format("{}.txt", level->m_levelID.value()));
std::ofstream(level_path_to_save) << std::string(level->m_levelString.data());
auto level_meta_file = levels_meta_path / fmt::format("{}.json", level->m_levelID.value());
Expand Down

0 comments on commit f636588

Please sign in to comment.