Skip to content
Snippets Groups Projects
Commit fe51e69c authored by svornost's avatar svornost
Browse files

All these cases don't ever get called (and weren't called before either), so...

All these cases don't ever get called (and weren't called before either), so get rid of the whole loop.
parent 4f326fc9
Branches
Tags
No related merge requests found
...@@ -50,27 +50,6 @@ App.Data.NewGamePlus = (function() { ...@@ -50,27 +50,6 @@ App.Data.NewGamePlus = (function() {
V.cheater = 0; V.cheater = 0;
V.cash = 0; V.cash = 0;
cashX(10000, "personalBusiness"); cashX(10000, "personalBusiness");
for (let slave of V.slaves) {
if (V.familyTesting === 1) {
if (slave.mother === -1) {
slave.mother = V.missingParentID+NGPOffset;
}
if (slave.father === -1) {
slave.father = V.missingParentID+NGPOffset;
}
if (slave.pregSource === -1) {
slave.pregSource = 0;
}
if (slave.cloneID === -1) {
slave.cloneID = 0;
}
}
for (let fetus of slave.womb) {
if (fetus.father === -1) {
fetus.father = 0;
}
}
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment