Skip to content

Commit 2ab7e19

Browse files
committed
logging
1 parent 4a0cc93 commit 2ab7e19

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

mod.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,24 @@
248248
"min": 0.10,
249249
"max": 4.00
250250
},
251+
"robtopFallUpHideDuration": {
252+
"name": "\"Hiding\" Falling Up Duration",
253+
"description": "Adjust the duration of the EndLevelLayer falling up animation that happens when \"hiding\" using the vanilla button.",
254+
"type": "float",
255+
"default": 1.0,
256+
"min": 0.0,
257+
"max": 5.0
258+
},
251259
"spaceUK": {
252260
"name": "SpaceUK",
253261
"description": "940px. Any questions?",
254262
"type": "bool",
255263
"default": false
264+
},
265+
"logging": {
266+
"name": "Logging",
267+
"type": "bool",
268+
"default": false
256269
}
257270
},
258271
"resources": {

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using namespace geode::prelude;
77

88
$on_mod(Loaded) {
9+
Mod::get()->setLoggingEnabled(Mod::get()->getSettingValue<bool>("logging"));
910
Manager* manager = managerMacro;
1011
manager->hideEndLevelLayer = Mod::get()->getSettingValue<bool>("hideEndLevelLayer");
1112
(void) Mod::get()->registerCustomSettingType("configdir", &MyButtonSettingV3::parse);

0 commit comments

Comments
 (0)