From ae3849eb26f96bf68914dac30b49c3a761c028a4 Mon Sep 17 00:00:00 2001
From: DCoded <dcoded@live.com>
Date: Thu, 14 Mar 2019 18:57:58 -0400
Subject: [PATCH] Fixed servants not respecting chastity rules

---
 src/endWeek/saServant.js | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/endWeek/saServant.js b/src/endWeek/saServant.js
index deefae63fbc..24e70b34510 100644
--- a/src/endWeek/saServant.js
+++ b/src/endWeek/saServant.js
@@ -58,10 +58,12 @@ window.saServant = /** @param {App.Entity.SlaveState} slave */ function saServan
 		t += `so happy to serve your other slaves that ${he} often sees to their needs before they know they have them, and greatly <span class='yellowgreen'>reduces the upkeep</span> of your slaves.`;
 	}
 
-	let _oral = jsRandom(5,10);
-	slave.oralCount += _oral;
-	V.oralTotal += _oral;
-
+	if (slave.releaseRules !== "chastity") {
+		let _oral = jsRandom(5,10);
+		slave.oralCount += _oral;
+		V.oralTotal += _oral;
+	}
+	
 	if (slave.relationship == -2) {
 		t += ` ${He} does ${his} best to perfect your domesticity due to ${his} emotional bond to you.`;
 	} else if (slave.relationship == -3 && slave.devotion > 50) {
-- 
GitLab