From 2972b2e280351cdc6fd6fcdb5099c9ba6f3d7f1d Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Fri, 28 Aug 2020 18:09:50 -0400 Subject: [PATCH] v slave market --- src/markets/theMarket/buySlaves.js | 1 - src/markets/theMarket/market.js | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/markets/theMarket/buySlaves.js b/src/markets/theMarket/buySlaves.js index befcb70e9ec..106e31f45bc 100644 --- a/src/markets/theMarket/buySlaves.js +++ b/src/markets/theMarket/buySlaves.js @@ -146,7 +146,6 @@ App.UI.buySlaves = function() { App.UI.specificMarket({ market: store.marketType, slaveMarket: 0, - slaveMarketLimit: 0, newSlaves: [], numArcology: 1 }); diff --git a/src/markets/theMarket/market.js b/src/markets/theMarket/market.js index 7fbde0137e7..e93c1bc6cfd 100644 --- a/src/markets/theMarket/market.js +++ b/src/markets/theMarket/market.js @@ -17,16 +17,19 @@ App.UI.market = function() { return span; }; -App.UI.specificMarket = function({market, slaveMarket, slaveMarketLimit, newSlaves = [], numArcology} = {}) { +App.UI.specificMarket = function({market, slaveMarket, newSlaves = [], numArcology} = {}) { const el = new DocumentFragment(); + // Temp + V.newSlaves = newSlaves; + // Sidebar V.nextButton = "Back"; V.nextLink = "Buy Slaves"; V.returnTo = "Buy Slaves"; V.encyclopedia = "Kidnapped Slaves"; // Multi-Purchase Support - if (V.newSlaves.length > 0) { + if (newSlaves.length > 0) { V.nextButton = "Continue"; V.nextLink = "Bulk Slave Intro"; V.returnTo = "Main"; -- GitLab