From 2d3f8645e34231c7e53e213872bb4acd9d60e129 Mon Sep 17 00:00:00 2001
From: ezsh <ezsh.junk@gmail.com>
Date: Sat, 9 Feb 2019 06:48:47 +0100
Subject: [PATCH] Set initial slave puberty state to undefined

Closes #484
---
 src/js/SlaveState.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/js/SlaveState.js b/src/js/SlaveState.js
index 375ade073c8..11531fc0a6a 100644
--- a/src/js/SlaveState.js
+++ b/src/js/SlaveState.js
@@ -1930,13 +1930,13 @@ App.Entity.SlaveState = class SlaveState {
 		/** Has the slave gone through female puberty.
 		 *
 		 * 0: no; 1: yes */
-		//this.pubertyXX = 0;
+		this.pubertyXX = undefined;
 		/** Target .physicalAge for male puberty to occur. */
 		this.pubertyAgeXY = 13;
 		/** Has the slave gone through male puberty.
 		 *
 		 * 0: no; 1: yes */
-		//this.pubertyXY = 0;
+		this.pubertyXY = undefined;
 		/**
 		 * not fully implemented.
 		 * * 0: no scars
-- 
GitLab