Skip to content
Snippets Groups Projects
Commit 1f3f6ead authored by brickode's avatar brickode
Browse files

Removed unused calls

parent 957cc595
No related branches found
No related tags found
1 merge request!6890Getting the Nursery to Work
...@@ -11,8 +11,8 @@ globalThis.generateChild = function (mother, ovum, incubator=false) { ...@@ -11,8 +11,8 @@ globalThis.generateChild = function (mother, ovum, incubator=false) {
if (!incubator) { // does extra work for the incubator if defined, otherwise builds a simple object if (!incubator) { // does extra work for the incubator if defined, otherwise builds a simple object
child.genes = genes.gender; child.genes = genes.gender;
setSlaveName(); setSlaveName(child, genes);
setSurname(); setSurname(child, genes);
child.mother = genes.mother; child.mother = genes.mother;
child.father = genes.father; child.father = genes.father;
...@@ -68,8 +68,8 @@ globalThis.generateChild = function (mother, ovum, incubator=false) { ...@@ -68,8 +68,8 @@ globalThis.generateChild = function (mother, ovum, incubator=false) {
}; };
child = GenerateNewSlave(genes.gender, fixedAge); child = GenerateNewSlave(genes.gender, fixedAge);
setSlaveName(); setSlaveName(child, genes);
setSurname(); setSurname(child, genes);
child.actualAge = 0; child.actualAge = 0;
if (genes.clone !== undefined) { if (genes.clone !== undefined) {
...@@ -201,9 +201,6 @@ globalThis.generateChild = function (mother, ovum, incubator=false) { ...@@ -201,9 +201,6 @@ globalThis.generateChild = function (mother, ovum, incubator=false) {
child.navelPiercing = 0; child.navelPiercing = 0;
} }
this.setSurname(child, genes);
this.setSlaveName(child, genes);
generatePronouns(child); generatePronouns(child);
return child; return child;
......
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