From b5e5d4c91dbd9f537346b5ce0d6654e4113d7f5c Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Fri, 2 Oct 2020 21:28:08 -0400 Subject: [PATCH] Added missing option --- src/facilities/pit/pit.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/facilities/pit/pit.js b/src/facilities/pit/pit.js index d2880cff739..b4e8e15038b 100644 --- a/src/facilities/pit/pit.js +++ b/src/facilities/pit/pit.js @@ -10,12 +10,12 @@ App.Facilities.Pit.pit = function() { App.UI.DOM.appendNewElement("div", frag, intro(), "pit-intro"); frag.appendChild(audience()); - if (!V.pit.slaveFightingBodyguard) { + if (V.pit.slaveFightingBodyguard) { + App.UI.DOM.appendNewElement("div", frag, scheduled()); + } else { frag.append(fighters(), lethality()); App.UI.DOM.appendNewElement("div", frag, App.UI.SlaveList.listSJFacilitySlaves(App.Entity.facilities.pit, passage(), false, {assign: "Select a slave to fight", remove: "Cancel a slave's fight", transfer: ""}), "pit-assign"); - } else { - App.UI.DOM.appendNewElement("div", frag, scheduled()); } App.UI.DOM.appendNewElement("div", frag, rename(), "pit-rename"); @@ -198,6 +198,8 @@ App.Facilities.Pit.pit = function() { } } } + } else { + mainDiv.append(`Two fighters will be selected from the pool at random.`); } linkSpan.append(App.UI.DOM.generateLinksStrip(links)); -- GitLab