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

tweak

parent 22d84b0d
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ window.generateGenetics = (function() {
father = V.genePool.find(function(s) { return s.ID == actor2.ID; });
activeFather = V.slaves[V.slaveIndices[actor2]];
if (father === undefined) {
father = V.slaves.find(function(s) { return s.ID == actor2.ID; });
father = V.slaves[V.slaveIndices[actor2]];
activeFather = V.slaves[V.slaveIndices[actor2]];
}
if (father === undefined) {
......
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