diff --git a/src/markets/theMarket/buySlaves.js b/src/markets/theMarket/buySlaves.js index befcb70e9ec869ce5a8d9ee0977a3ca4af391973..106e31f45bc5ad25c3536d464f9ff32452167ca1 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 7fbde0137e732c4a3da19df5562554dd429c576d..e93c1bc6cfd3267fc129790ac862027285230890 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";