From 6e2dbe7248e9296778d30a788992558410cbc5f5 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sun, 31 Mar 2019 19:27:56 -0400
Subject: [PATCH] Removed 'use strict' to fix JS issue.

---
 src/js/futureSocietyJS.js | 1 -
 src/js/utilJS.js          | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/js/futureSocietyJS.js b/src/js/futureSocietyJS.js
index 5bd36ca9946..15bcafe98c2 100644
--- a/src/js/futureSocietyJS.js
+++ b/src/js/futureSocietyJS.js
@@ -256,7 +256,6 @@ window.ValidateFacilityDecoration = function ValidateFacilityDecoration(decorati
 };
 
 window.FSChange = function FSChange(FS, magnitude, bonusMultiplier = 1) {
-	'use strict';
 	const V = State.variables;
 	let errorMessage = '';
 
diff --git a/src/js/utilJS.js b/src/js/utilJS.js
index a6c32881385..843821bef65 100644
--- a/src/js/utilJS.js
+++ b/src/js/utilJS.js
@@ -1507,7 +1507,7 @@ window.resyncSlaveToAge = function(slave) {
 };
 
 window.IncreasePCSkills = function(input, increase = 1) {
-	"use strict"; const player = State.variables.PC, oldSkill = player[input];
+	const player = State.variables.PC, oldSkill = player[input];
 	player[input] += increase;
 	if (oldSkill <= 10) {
 		if (player[input] >= 10) {
-- 
GitLab