Skip to content

Commit

Permalink
soo who did that
Browse files Browse the repository at this point in the history
  • Loading branch information
user95401 committed Aug 9, 2024
1 parent 0e7fcf3 commit 8fbb2ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/download_mods.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ inline void getListAndStartDownloadingMods() {
));
}

//$execute{
//$on_mod(Loaded){
// getListAndStartDownloadingMods();
//};
#include <Geode/modify/MenuLayer.hpp>
Expand Down
6 changes: 3 additions & 3 deletions src/resources.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ class $modify(CCFileUtilsExt, CCFileUtils) {
}
};

//pleload rand globs
void pleload_rand_globs(); $execute{ pleload_rand_globs(); };
inline void pleload_rand_globs() {
//preload rand globs
$on_mod(Loaded){
log::debug("preloading rand globs now");
auto resources = Mod::get()->getResourcesDir();
for (auto mark : fs::glob::glob((resources / "").string() + "*.rand")) {
auto name = (fs::path(mark).filename()).replace_extension("");
Expand Down

0 comments on commit 8fbb2ff

Please sign in to comment.