Skip to content

Commit 1e88eb1

Browse files
committed
one last thing for the road
1 parent a11377d commit 1e88eb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MenuLayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ 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 && scene->getChildByType<MenuLayer>(0)) {
17+
if (SongManager::get().getVibecodedVentilla() && !shownVibecodedWarning && Loader::get()->isModLoaded("joseii.ventilla") && scene->getChildByType<MenuLayer>(0)) {
1818
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;

0 commit comments

Comments
 (0)