From cc0e07fd4263c3fb013662525f9fbf011c90cb8c Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Sun, 23 May 2021 16:20:46 -0700 Subject: [PATCH] Fix polarity of surnamesForbidden --- src/interaction/universalRules.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/interaction/universalRules.js b/src/interaction/universalRules.js index 8cc36e2042f..96e0f24a0ee 100644 --- a/src/interaction/universalRules.js +++ b/src/interaction/universalRules.js @@ -78,13 +78,13 @@ App.UI.universalRules = function() { const options = new App.UI.OptionsGroup(); options.addOption("Slaves keep surnames", "surnamesForbidden") - .addValue("Yes", 1).on() - .addValue(`No going forward`, 0).off() + .addValue("Yes", 0).on() + .addValue(`No going forward`, 1).off() .customButton(`No and strip all current surnames`, () => { for (const slave of V.slaves) { slave.slaveSurname = 0; } - V.surnamesForbidden = 0; + V.surnamesForbidden = 1; }, passage()); if (V.surnamesForbidden === 0) { -- GitLab