diff --git a/src/utility/descriptionWidgets.tw b/src/utility/descriptionWidgets.tw index 81032067f434ff89de7f6d13d0145269a5830d3e..5f2ea55253bc049b39045ac95c3e630b548e50af 100644 --- a/src/utility/descriptionWidgets.tw +++ b/src/utility/descriptionWidgets.tw @@ -100,6 +100,7 @@ <<if $completedOrgans.length > 0>> <<set _validOrgans = 0>> <<for _dwi = 0; _dwi < $slaves.length; _dwi++>> + <<capture _dwi>> <<set $dumped = 0>> <<set _slaveOrgans = 0>> <<for _dwj = 0; _dwj < $completedOrgans.length; _dwj++>> @@ -111,8 +112,13 @@ /* if the interrogated slave has one or more organs ready: */ <<if _slaveOrgans > 0>> <br>@@.yellow;The fabricator has completed <<if _slaveOrgans > 1>><<print _slaveOrgans>> organs<<else>>an organ<</if>> for@@ - [[$slaves[_dwi].slaveName|Slave Interact][$activeSlave = $slaves[_dwi]]], @@.yellow; which <<if _slaveOrgans > 1>>are<<else>>is<</if>> ready to be implanted.@@ + <<link "<<print $slaves[_dwi].slaveName>>">> + <<set $activeSlave = $slaves[_dwi]>> + <<goto "Slave Interact">> + <</link>> + , @@.yellow; which <<if _slaveOrgans > 1>>are<<else>>is<</if>> ready to be implanted.@@ <</if>> + <</capture>> <</for>> /* if the check returns true it means there are organs without slaves associated to. I think this was the purpouse of the _validHost check in the original code */ <<if _validOrgans < $completedOrgans.length>>