Skip to content
Snippets Groups Projects
Commit ccf85a48 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'fixes' into 'pregmod-master'

Fix

Closes #554

See merge request pregmodfan/fc-pregmod!3833
parents 392049d8 17bcb196
No related branches found
No related tags found
1 merge request!3833Fix
...@@ -599,7 +599,7 @@ Target age for release: <<textbox "$targetAge" $targetAge "Incubator">> [[Minimu ...@@ -599,7 +599,7 @@ Target age for release: <<textbox "$targetAge" $targetAge "Incubator">> [[Minimu
<<if _readySlaves == 1>> <<if _readySlaves == 1>>
<<if $incubatorBulkRelease == 1>> <<if $incubatorBulkRelease == 1>>
<<set $newSlavePool = []>> <<set $newSlavePool = []>>
<<for _inc = 0; _inc < $incubatorSlaves; _inc++>> <<for _inc = 0; _inc < $tanks.length; _inc++>>
<<if $tanks[_inc].growTime <= 0>> <<if $tanks[_inc].growTime <= 0>>
<<set $incubatorOldID = $tanks[_inc].ID>> /* single slave case */ <<set $incubatorOldID = $tanks[_inc].ID>> /* single slave case */
<<set _tempObject = {object: $tanks[_inc], ID: $tanks[_inc].ID}>> <<set _tempObject = {object: $tanks[_inc], ID: $tanks[_inc].ID}>>
...@@ -609,7 +609,7 @@ Target age for release: <<textbox "$targetAge" $targetAge "Incubator">> [[Minimu ...@@ -609,7 +609,7 @@ Target age for release: <<textbox "$targetAge" $targetAge "Incubator">> [[Minimu
<</if>> <</if>>
<</for>> <</for>>
<<if $newSlavePool.length == 1>> <<if $newSlavePool.length == 1>>
<<set $readySlave = $newSlavePool[0]>> <<set $readySlave = $newSlavePool[0].object>>
<<set $newSlavePool = 0>> <<set $newSlavePool = 0>>
<</if>> <</if>>
<<else>> <<else>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment