From 1128b33d3ff5e895a871eb0d10cb78101f6202f4 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Sun, 1 Mar 2020 20:31:58 -0500
Subject: [PATCH] fix my fuckup

---
 src/js/backwardsCompatibility.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/js/backwardsCompatibility.js b/src/js/backwardsCompatibility.js
index 4b82f740dcf..2cee9acac53 100644
--- a/src/js/backwardsCompatibility.js
+++ b/src/js/backwardsCompatibility.js
@@ -3200,7 +3200,7 @@ window.backwardsCompatibility = (function() {
 
 			if (V.genePool.map(function(s) { return s.ID; }).count(_Slave.ID) > 1) {
 				/* first check for duplicate IDs, keep the first entry and delete the others */
-				for (let _bci2 = _bci + 1; _bci2 < V.genePool.length; _bci2) {
+				for (let _bci2 = _bci + 1; _bci2 < V.genePool.length; _bci2++) {
 					if (V.genePool[_bci2].ID === _Slave.ID) {
 						V.genePool.deleteAt(_bci2), _bci2--;
 					}
@@ -3229,7 +3229,7 @@ window.backwardsCompatibility = (function() {
 			}
 			if (_dontDeleteMe === 0) {
 				/* avoid going through this loop if possible */
-				for (let _bci2 = 0; _bci2 < V.slaves.length; _bci2) {
+				for (let _bci2 = 0; _bci2 < V.slaves.length; _bci2++) {
 					if (isImpregnatedBy(V.slaves[_bci2], _Slave)) {
 						/* have we impregnated a slave on the slaves array? */
 						_dontDeleteMe = 1;
@@ -3285,7 +3285,7 @@ window.backwardsCompatibility = (function() {
 		}
 
 		if (V.nurseryNannies > 0) {
-			for (let _bci = 0; _bci < V.cribs.length; _bci) {
+			for (let _bci = 0; _bci < V.cribs.length; _bci++) {
 				App.Update.Slave(V.cribs[_bci]);
 				// let _nurseryChild = V.cribs[_bci]; TODO: on importing this to JS, what is this even supposed to do?
 			}
-- 
GitLab