From 3ea4d62e266b44c38c7b2b7d6a704bac5caec90d Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Sat, 3 Oct 2020 17:25:40 -0700
Subject: [PATCH] whoops

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

diff --git a/src/endWeek/saLongTermEffects.js b/src/endWeek/saLongTermEffects.js
index 38038389b35..4b3eccf87f9 100644
--- a/src/endWeek/saLongTermEffects.js
+++ b/src/endWeek/saLongTermEffects.js
@@ -1549,7 +1549,7 @@ App.SlaveAssignment.longTermEffects = (function() {
 				if (random(1, 500) > 500 + slave.devotion) {
 					effect = random(1, 6);
 					r.push(`Being so angry at ${his} life as a sex slave has`);
-					if (givingAttention && ["build her devotion", "look after her", "soften her behavioral flaw", "soften her sexual flaw", "teach her"].includes(V.personalAttention[givingAttention].trainingRegimen)) {
+					if (attention && ["build her devotion", "look after her", "soften her behavioral flaw", "soften her sexual flaw", "teach her"].includes(attention.trainingRegimen)) {
 						r.push(`forced ${him} to face ${his} problems with you. Lending ${him} support makes it <span class="devotion inc">a little more tolerable.</span>`);
 						slave.devotion++;
 					} else if (effect === 1) {
-- 
GitLab