From 4a285b720a6a83189c545944ee04f3e94badad17 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 23 Dec 2020 17:10:21 -0500
Subject: [PATCH] rules

---
 src/js/rulesAssistant.js | 12 ++++++++++++
 src/js/utilsFC.js        | 12 ------------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/js/rulesAssistant.js b/src/js/rulesAssistant.js
index b25965885ae..52199fd9c05 100644
--- a/src/js/rulesAssistant.js
+++ b/src/js/rulesAssistant.js
@@ -602,3 +602,15 @@ App.RA.ruleDeepAssign = function deepAssign(target, source) {
 	}
 	return target;
 };
+
+globalThis.initRules = function() {
+	const rule = emptyDefaultRule();
+	rule.name = "Obedient Slaves";
+	rule.condition.function = "between";
+	rule.condition.data.attribute = "devotion";
+	rule.condition.data.value = [20, null];
+	rule.set.removalAssignment = "rest";
+
+	V.defaultRules = [rule];
+	V.rulesToApplyOnce = {};
+};
diff --git a/src/js/utilsFC.js b/src/js/utilsFC.js
index 4367d1161da..e0476b3f1b4 100644
--- a/src/js/utilsFC.js
+++ b/src/js/utilsFC.js
@@ -147,15 +147,3 @@ App.Utils.alphabetizeIterable = function(iterable) {
 	const clonedArray = (Array.from(iterable));
 	return clonedArray.sort(compare);
 };
-
-globalThis.initRules = function() {
-	const rule = emptyDefaultRule();
-	rule.name = "Obedient Slaves";
-	rule.condition.function = "between";
-	rule.condition.data.attribute = "devotion";
-	rule.condition.data.value = [20, null];
-	rule.set.removalAssignment = "rest";
-
-	V.defaultRules = [rule];
-	V.rulesToApplyOnce = {};
-};
-- 
GitLab