From b47a38f47d3105e3a6e3fd62db96514179b86722 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Fri, 20 Aug 2021 02:16:23 -0400 Subject: [PATCH] hid catmod comment unless catmod is active --- src/gui/options/options.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/gui/options/options.js b/src/gui/options/options.js index 3b763e5e4d1..357d87a5b4e 100644 --- a/src/gui/options/options.js +++ b/src/gui/options/options.js @@ -150,6 +150,7 @@ App.UI.optionsPassage = function() { function mods() { const el = new DocumentFragment(); let options; + let option; options = new App.UI.OptionsGroup(); @@ -162,9 +163,11 @@ App.UI.optionsPassage = function() { .addValue("Disabled", 0).off() .addComment("<div>The mod can be activated in any moment, but it may result in unbalanced gameplay if activated very late in the game.</div>"); - options.addOption("Catmod is currently", "seeCats") - .addValue("Enabled", 1).on().addValue("Disabled", 0).off() - .addComment("Will not murder existing catgirls, you have to do that yourself."); + option = options.addOption("Catmod is currently", "seeCats") + .addValue("Enabled", 1).on().addValue("Disabled", 0).off(); + if (V.seeCats) { + option.addComment("Disabling Catmod will not murder existing catgirls, you have to do that yourself."); + } el.append(options.render()); -- GitLab