formatted sources

This commit is contained in:
altalk23 2022-10-30 21:56:36 +03:00
parent 444464b185
commit 2bb416ba77
100 changed files with 4162 additions and 4851 deletions
loader/src/hooks

View file

@ -2,13 +2,14 @@
#include <Geode/modify/LoadingLayer.hpp>
USE_GEODE_NAMESPACE();
class $modify(LoadingLayer) {
void loadAssets() {
LoadingLayer::loadAssets();
// this is in case the user refreshes texture quality at runtime
if (this->m_loadStep == 10) {
Loader::get()->updateResources();
}
}
// clang-format off
class $modify(LoadingLayer) {
void loadAssets() {
LoadingLayer::loadAssets();
// this is in case the user refreshes texture quality at runtime
if (this->m_loadStep == 10) {
Loader::get()->updateResources();
}
}
};
// clang-format on