From 7e75ce029d35c3ebc13094595884999b824a87e5 Mon Sep 17 00:00:00 2001
From: Skriv <skrivelese@gmail.com>
Date: Thu, 28 Mar 2019 22:55:57 +0100
Subject: [PATCH] cleanStayConfined

---
 src/endWeek/saStayConfined.js | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/endWeek/saStayConfined.js b/src/endWeek/saStayConfined.js
index a2b6fbb528e..26404bd0f72 100644
--- a/src/endWeek/saStayConfined.js
+++ b/src/endWeek/saStayConfined.js
@@ -1,13 +1,16 @@
-/* eslint-disable no-undef */
-/* eslint-disable no-unused-vars */
 window.saStayConfined = /** @param {App.Entity.SlaveState} slave */ function saStayConfined(slave) {
+	const V = State.variables;
+	const pronouns = getPronouns(slave);
+	const he = pronouns.pronoun;
+	const him = pronouns.object;
+	const his = pronouns.possessive;
+	const hers = pronouns.possessivePronoun;
+	const himself = pronouns.objectReflexive;
+	const boy = pronouns.noun;
+	const He = capFirstChar(he);
+	const His = capFirstChar(his);
 
-	var pronouns = getPronouns(slave);
-	var he = pronouns.pronoun, him = pronouns.object, his = pronouns.possessive, hers = pronouns.possessivePronoun, himself = pronouns.objectReflexive, boy = pronouns.noun;
-	var He = capFirstChar(he), His = capFirstChar(his);
-	var V = State.variables;
-
-	var t = "";
+	let t = "";
 
 	if (slave.fetish !== "mindbroken") {
 		if (slave.devotion < -50) {
-- 
GitLab