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 480ce1e commit ed74f03
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/_main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,11 @@ namespace mle_leveltools {
);
return level;
#endif // DEBUG
return level;
//user coin id 1329, 142 secret coin
gd::string decompressed = ZipUtils::decompressString(level->m_levelString, true, 0);
decompressed = std::regex_replace(std::string(decompressed.data()), std::regex(",1329,"), ",142,").data();
//decompressed = std::regex_replace(std::string(decompressed.data()), std::regex(",1329,"), ",142,").data();
level->m_levelString = ZipUtils::compressString(decompressed, true, 0);
log::debug("{}", level->m_levelString);
return level;
}
inline auto updateLevelDataAndMetaFiles(gd::string str, GJGameLevel* level) {
level->m_levelString = str;
Expand Down

0 comments on commit ed74f03

Please sign in to comment.