From be7c40fcff571b1cad85bc700ddbe2cc71e24fbc Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Wed, 4 Dec 2019 15:14:48 -0500
Subject: [PATCH] Rule BC fix

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

diff --git a/src/js/datatypeCleanupJS.js b/src/js/datatypeCleanupJS.js
index 172ca1b5b99..4e19c77bb58 100644
--- a/src/js/datatypeCleanupJS.js
+++ b/src/js/datatypeCleanupJS.js
@@ -2317,8 +2317,8 @@ App.Entity.Utils.RARuleDatatypeCleanup = function() {
 			set.preg = (set.preg === -1);
 		}
 
-		if (set.porn.spending === undefined || set.porn.spending === -1) {
-			set.porn.spending = null;
+		if (set.pornFameSpending === undefined || set.pornFameSpending === -1) {
+			set.pornFameSpending = null;
 		}
 
 		transformValues(set.growth,
-- 
GitLab