From bb88338b0e68887e8220a0b788d846f4b281c624 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Fri, 6 Mar 2020 16:22:56 -0500 Subject: [PATCH] fix inflation --- src/interaction/slaveInteract.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/interaction/slaveInteract.js b/src/interaction/slaveInteract.js index a07144e3f36..6e11b5b8c13 100644 --- a/src/interaction/slaveInteract.js +++ b/src/interaction/slaveInteract.js @@ -884,11 +884,17 @@ App.UI.SlaveInteract.useSlaveDisplay = function(slave) { Object.assign(V, sexOption.update); } + // Update activeSlave to be used in scene + V.activeSlave = V.slaves[V.slaveIndices[V.activeSlave.ID]]; + + // Scene if (sexOption.scene) { App.UI.replace('#miniscene', `<<include "${sexOption.scene}">>`); } else if (sexOption.goto) { App.UI.replace('#miniscene', `<<goto "${sexOption.goto}">>`); } + + // Record scene results in slave array V.slaves[V.slaveIndices[V.activeSlave.ID]] = V.activeSlave; App.UI.SlaveInteract.refreshAll(V.slaves[V.slaveIndices[V.activeSlave.ID]]); -- GitLab