Skip to content

Commit 5cf2d03

Browse files
committed
Made an enable option and only apply the popup to event levels
1 parent 3ab9fb8 commit 5cf2d03

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mod.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"type": "bool",
2828
"default": true
2929
},
30-
"skipPopup": {
31-
"name": "Ignore Skip Popup",
32-
"description": "Disables the popup when trying to skip a <co>Daily Level</c>",
30+
"enablePopup": {
31+
"name": "Secret Skip Popup",
32+
"description": "Enables secret popup when trying to skip an <cp>Event Level</c>",
3333
"type": "bool",
3434
"default": false
3535
}

src/DailyLevelNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class $modify(DailyLevelNodeHook, DailyLevelNode) {
1313
return;
1414
}
1515

16-
if(!Mod::get()->getSettingValue<bool>("skipPopup")) {
16+
if(Mod::get()->getSettingValue<bool>("enablePopup") && atEvent) {
1717
createQuickPopup(
1818
"Nuh uh",
1919
"You are <cr>NOT</c> skipping a daily level!",

0 commit comments

Comments
 (0)