diff --git a/src/uncategorized/multiImplant.tw b/src/uncategorized/multiImplant.tw index 210e0eb9a3e3c99a4043d1eabcfc0b81b15dd0b3..88f76ef94c0921c94f8f6e46f3cff0791c9c04d5 100644 --- a/src/uncategorized/multiImplant.tw +++ b/src/uncategorized/multiImplant.tw @@ -1011,7 +1011,7 @@ You head down to your <<if $surgeryUpgrade == 1>>heavily upgraded and customized <<set _p = $adjustProsthetics[_k]>> <<if _p.slaveID == $activeSlave.ID && _p.workLeft <= 0>> <<set $adjustProsthetics.splice(_k, 1), _k-->> - <<set $activeSlave.readyProsthetics.push({id: _p.id})>> + <<set addProsthetic($activeSlave, _p.id)>> <br><hr> <<switch _p.id>> <<case "ocular">> diff --git a/src/uncategorized/remoteSurgery.tw b/src/uncategorized/remoteSurgery.tw index c9981dfe7a897ffc7f8c1f464e1ba8bb25c0b76f..e1e253978ddc59ee7744e4d730be1b2d217af666 100644 --- a/src/uncategorized/remoteSurgery.tw +++ b/src/uncategorized/remoteSurgery.tw @@ -8,7 +8,7 @@ <<if $adjustProstheticsCompleted > 0>> <<set $adjustProsthetics = $adjustProsthetics.filter(function(p) { if (p.workLeft <= 0 && p.slaveID == $activeSlave.ID) { - $activeSlave.readyProsthetics.push({id: p.id}); + addProsthetic($activeSlave, p.id); $adjustProstheticsCompleted--; return false; }