diff --git a/src/facilities/incubator/incubatorInteract.js b/src/facilities/incubator/incubatorInteract.js index a86bb80da75eabe640feeba1e341fa6c29567db3..80388dfc7f26873a779a26d49dfbe3fa3a323b7e 100644 --- a/src/facilities/incubator/incubatorInteract.js +++ b/src/facilities/incubator/incubatorInteract.js @@ -1558,7 +1558,7 @@ App.UI.incubator = function() { if (V.readySlaves === 1) { if (V.incubatorBulkRelease === 1) { V.newSlavePool = []; - for (let _inc = 0; _inc < V.tanks.length;) { + for (let _inc = 0; _inc < V.tanks.length; _inc++) { if (V.tanks[_inc].growTime <= 0) { V.incubatorOldID = V.tanks[_inc].ID; /* single slave case */ @@ -1573,7 +1573,7 @@ App.UI.incubator = function() { V.newSlavePool = 0; } } else { - for (let _inc = 0; _inc < V.incubatorSlaves;) { + for (let _inc = 0; _inc < V.incubatorSlaves; _inc++) { if (V.tanks[_inc].growTime <= 0) { V.incubatorOldID = V.tanks[_inc].ID; V.readySlave = V.tanks[_inc];