Skip to content

Commit 1fed5db

Browse files
committed
test hook prio wit JFP
1 parent e0d54da commit 1fed5db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/PlayLayer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
#define manager Manager::getSharedInstance()
1010

1111
class $modify(MyPlayLayer, PlayLayer) {
12+
static void onModify(auto& self) {
13+
if (Loader::get()->isModLoaded("gdsrwave.jfp")) (void) self.setHookPriorityBeforePost("PlayLayer::updateProgressbar", "gdsrwave.jfp");
14+
}
1215
static std::string grabRandomQuote(std::vector<std::string> vector = manager->quotes) {
1316
if (vector.empty()) return "";
1417
static std::mt19937_64 engine(std::random_device{}());

0 commit comments

Comments
 (0)