From 0d258d2c8daab04f476d9d9b71ed6d6c7e381c75 Mon Sep 17 00:00:00 2001
From: Skriv <skrivelese@gmail.com>
Date: Sun, 17 Mar 2019 22:44:37 +0100
Subject: [PATCH] minor fix

---
 src/js/DefaultRules.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/js/DefaultRules.js b/src/js/DefaultRules.js
index 1f32ab0bbc4..2c76f5a3687 100644
--- a/src/js/DefaultRules.js
+++ b/src/js/DefaultRules.js
@@ -1958,7 +1958,7 @@ window.DefaultRules = (function() {
 
 	/** @param {App.Entity.SlaveState} slave */
 	function ProcessSpeech(slave, rule) {
-		if ((rule.speechRules !== undefined) && (rule.speechRules !== "no default setting")) {
+		if ((rule.speechRules !== undefined) && (rule.speechRules !== "no default setting") && (slave.speechRules !== rule.speechRules)) {
 			if (slave.fetish === "mindbroken") {
 				if ((slave.speechRules !== "restrictive")) {
 					slave.speechRules = "restrictive";
-- 
GitLab