From e8b0ee1ad52b75dfafd2ac21650efdb81e70009c Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Mon, 31 Aug 2020 17:16:51 -0400
Subject: [PATCH] nieghbors fix

---
 src/markets/theMarket/buySlaves.js | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/markets/theMarket/buySlaves.js b/src/markets/theMarket/buySlaves.js
index ebc8e2a367a..db58d78e717 100644
--- a/src/markets/theMarket/buySlaves.js
+++ b/src/markets/theMarket/buySlaves.js
@@ -67,11 +67,13 @@ App.UI.buySlaves = function() {
 					App.UI.DOM.link(
 						"Slaves from",
 						() => {
-							V.slaveMarket = "neighbor";
-							V.numArcology = _i;
+							App.UI.specificMarket({
+								market:  "neighbor",
+								slaveMarket: 0,
+								newSlaves: [],
+								numArcology: _i
+							});
 						},
-						[],
-						"Slave Markets"
 					)
 				);
 				App.UI.DOM.appendNewElement("span", linkUnit, ` ${V.arcologies[_i].name}`, "bold");
-- 
GitLab