Skip to content
Snippets Groups Projects
Commit 3fc95008 authored by ErzengelLichtes's avatar ErzengelLichtes
Browse files

If the PC gives birth to a single child you get a number of errors because _p...

If the PC gives birth to a single child you get a number of errors because _p wasn't set. Rather than replace them all with "0" I just set _p to 0.
parent 5f863ab2
No related branches found
No related tags found
2 merge requests!4944Corporation: Stock Splits for unwieldy stock prices,!3199Fixed casing for fetishKnown
...@@ -444,7 +444,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin ...@@ -444,7 +444,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin
<<set $PC.birthOther += _others, $PC.birthSelf += _self, $PC.birthCitizen += _citizens, $PC.birthMaster += _oldMaster, $PC.birthArcOwner += _arcOwner, $PC.birthClient += _clients, $PC.birthElite += _elite, $PC.birthLab += _lab, $PC.birthDegenerate += _slavesLength>> <<set $PC.birthOther += _others, $PC.birthSelf += _self, $PC.birthCitizen += _citizens, $PC.birthMaster += _oldMaster, $PC.birthArcOwner += _arcOwner, $PC.birthClient += _clients, $PC.birthElite += _elite, $PC.birthLab += _lab, $PC.birthDegenerate += _slavesLength>>
<<if _curBabies == 1>> <<if _curBabies == 1>>
<<set _p = 0>>
<<if $PC.curBabies[_p].genetics.race == $PC.origRace>> <<if $PC.curBabies[_p].genetics.race == $PC.origRace>>
<<set _PCDegree++>> <<set _PCDegree++>>
<</if>> <</if>>
......
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