From 53ffefd9b8637a07e7b58b84aa61a21ac3d47bc9 Mon Sep 17 00:00:00 2001
From: lowercase-donkey <lowercasedonkey@gmail.com>
Date: Fri, 1 Feb 2019 20:09:41 -0500
Subject: [PATCH] fix birthJS

---
 src/js/birthJS.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/js/birthJS.js b/src/js/birthJS.js
index 6f38f46a463..87cdbf48095 100644
--- a/src/js/birthJS.js
+++ b/src/js/birthJS.js
@@ -38,7 +38,7 @@ window.BirthDestinationText = function(choice,slave) {
 			}
 			break;
 		case "Orphanage":
-			if (V.slave.burst < 1) {
+			if (slave.burst < 1) {
 				if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) {
 					r += `has few thoughts about the matter.`;
 				} else if (slave.devotion > 95) {
@@ -59,7 +59,7 @@ window.BirthDestinationText = function(choice,slave) {
 			if (T.call !== 1) {
 				r += `citizen schools, to be brought up coequal with the arcology's other young people.`;
 			}
-			if (V.slave.burst < 1) {
+			if (slave.burst < 1) {
 				r += ` ${sn} `;
 				if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) {
 					r += `has few thoughts about the matter.`;
@@ -76,7 +76,7 @@ window.BirthDestinationText = function(choice,slave) {
 			break;
 		case "Private":
 			if (T.call !== 1) r += `${child} ${T.count > 1 ? ' are':' is'} sent to be privately raised, to be brought up as a future high class citizen.`;
-			if (V.slave.burst < 1) {
+			if (slave.burst < 1) {
 				r += ` ${sn} `;
 				if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) {
 					r += `has few thoughts about the matter.`;
@@ -107,7 +107,7 @@ window.BirthDestinationText = function(choice,slave) {
 			}
 			const cash = cashFormat(T.count*(50+T.babyCost));r += ` <span class='yellowgreen'>${cash}.</span>`;
 			if (slave.prematureBirth > 0) r += ` A low price due to the added costs of caring for ${T.count > 1 ? 'them':'it'}.`;
-			if (V.slave.burst < 1) {
+			if (slave.burst < 1) {
 				r += ` ${sn} `;
 				if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) {
 					r += `has few thoughts about the matter.`;
-- 
GitLab