diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index 93e97ce0f7f71fd72091a797940ef6660d6ea7f7..d5e916a66bda6be58ffeb3b42a471e3c6cf9c84a 100644 --- a/devNotes/VersionChangeLog-Premod+LoliMod.txt +++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt @@ -4,6 +4,9 @@ 9/02/2018 + 16 + -fixes + 15 -added chemical castration -newly grown testicles and ovaries may now replace existing ones (currently only used to replace sterilized balls) diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index 8e22f88799f9d75ad862e972288f499e38fbb01e..4d6644c388807789527ee541499eeb76eeb1e383 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -90,13 +90,6 @@ You should have received a copy of the GNU General Public License along with thi <</if>> <</if>> <</for>> - <<if $PC.pregSource > 0>> - <<set $PC.pregSource += 1200000>> - <<set _getFather = $slaveIndices[$PC.pregSource]>> - <<if ndef _getFather>> - <<set $PC.pregSource = 0>> - <</if>> - <</if>> <<set $genePool = ngUpdateGenePool($genePool)>> /* <<for $i = 0; $i < $genePool.length; $i++>> @@ -422,6 +415,13 @@ You should have received a copy of the GNU General Public License along with thi <<elseif $PC.father < 0>> <<set $PC.father -= 1200000>> <</if>> + <<if $PC.pregSource > 0>> + <<set $PC.pregSource += 1200000>> + <<set _getFather = $slaveIndices[$PC.pregSource]>> + <<if ndef _getFather>> + <<set $PC.pregSource = 0>> + <</if>> + <</if>> <<else>> <<initPC>> <<set $cheater = 0>>