Skip to content

Commit 8cd34a0

Browse files
committed
lower incompat level
1 parent 5641281 commit 8cd34a0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

mod.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,5 +344,11 @@
344344
"links": {
345345
"community": "https://discord.gg/WqZBYdBWZW",
346346
"homepage": "https://discord.com/channels/822510988409831486/1206371881222144020"
347+
},
348+
"incompatibilities": {
349+
"joseii.ventilla": {
350+
"version": ">=1.0.0",
351+
"reason": "conflicting"
352+
}
347353
}
348354
}

src/MenuLayer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ bool shownVibecodedWarning = false;
1414
class $modify(MenuLayerMLHook, MenuLayer) {
1515
static cocos2d::CCScene* scene(bool p0) {
1616
CCScene* scene = MenuLayer::scene(p0);
17-
if (SongManager::get().getVibecodedVentilla() && !shownVibecodedWarning) {
18-
FLAlertLayer* alert = FLAlertLayer::create("Uh oh!", "<c_>Another mod overriding the menu loop is active!</c>\n<cy>The specific menu music mod you have active does not respect menu loops created from other mods, and overrides all mods that change the behavior of the in-game menu loop.</c> <co>Additionally, this specific menu music mod relies on an Internet connection, and does not work with Cloudflare WARP.</c> <cy>If you want to use Menu Loop Randomizer, please check your loaded mods.</c>\n\n<cg>You will only see this warning once.</c>", "I Understand");
17+
if (SongManager::get().getVibecodedVentilla() && !shownVibecodedWarning && scene->getChildByType<MenuLayer>(0)) {
18+
FLAlertLayer* alert = FLAlertLayer::create(scene->getChildByType<MenuLayer>(0), "Uh oh!", "<c_>Another mod overriding the menu loop is active!</c>\n<cy>The specific menu music mod you have active does not respect menu loops created from other mods, and overrides all mods that change the behavior of the in-game menu loop.</c> <co>Additionally, this specific menu music mod relies on an Internet connection, and does not work with Cloudflare WARP.</c> <cy>If you want to use Menu Loop Randomizer, please check your loaded mods.</c>\n\n<cg>You will only see this warning once.</c>", "I Understand", nullptr, 420.f);
1919
scene->addChild(alert);
2020
shownVibecodedWarning = true;
2121
}

0 commit comments

Comments
 (0)