From d7c22ffc54fe8ce34273ee6fd6eca588b7ecb2f5 Mon Sep 17 00:00:00 2001
From: ezsh <ezsh.junk@gmail.com>
Date: Sun, 9 Jun 2019 20:17:48 +0200
Subject: [PATCH] Pass arcology id to agent recall passage

Fixes #825.
---
 src/uncategorized/neighborInteract.tw | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uncategorized/neighborInteract.tw b/src/uncategorized/neighborInteract.tw
index 4487f3b491d..98e4ee74fc9 100644
--- a/src/uncategorized/neighborInteract.tw
+++ b/src/uncategorized/neighborInteract.tw
@@ -272,7 +272,7 @@ You have <<print $arcologies.length-1>> neighbors. <br><br>
 			[[Appoint an agent|Agent Select]] <<set $him = "them">>
 		<<else>>
 			<<setLocalPronouns _Agent>>
-			Your agent @@.deeppink;<<= SlaveFullName(_Agent)>>@@ is running this arcology. [["Recall and reenslave " + $him|Agent Retrieve]]
+			Your agent @@.deeppink;<<= SlaveFullName(_Agent)>>@@ is running this arcology. [["Recall and reenslave " + $him|Agent Retrieve][$activeArcologyIdx = _currentNeighbor]]
 		<</if>>
 		<span id="rename"> | <<link "Instruct $him to rename the arcology">><<replace #rename>> | <<textbox "$arcologies[$activeArcologyIdx].name" $arcologies[$activeArcologyIdx].name>> [[Confirm name|Neighbor Interact]]<</replace>><</link>></span>
 		<<if $arcologies[_currentNeighbor].government === "your agent">>
-- 
GitLab