From 62ff90d3fa9da423c8085182e4c54e1a227be1e6 Mon Sep 17 00:00:00 2001
From: hexall <hexall90@gmail.com>
Date: Sat, 10 Mar 2018 17:32:07 +0100
Subject: [PATCH] fixing bug?

---
 src/SecExp/authorityReport.tw | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/SecExp/authorityReport.tw b/src/SecExp/authorityReport.tw
index fc974d05046..b96d4b25a34 100644
--- a/src/SecExp/authorityReport.tw
+++ b/src/SecExp/authorityReport.tw
@@ -121,10 +121,10 @@
 
 <<if $arcologies[0].FSPaternalist >= 90>>
 	Your extremely paternalistic society has the unfortunate side effects of spreading dangerous ideals in the arcology, damaging your authority.
-	<<set _authGrowth -= $arcologies[0].FSPaternalist>>
+	<<set _authGrowth -= Math.clamp($arcologies[0].FSPaternalist, 0, 100)>>
 <<elseif $arcologies[0].FSPaternalist >= 50>>
 	Your paternalistic society has the unfortunate side effects of spreading dangerous ideals in the arcology, damaging your authority.
-	<<set _authGrowth -= $arcologies[0].FSPaternalist>>
+	<<set _authGrowth -= Math.clamp($arcologies[0].FSPaternalist, 0, 100)>>
 <</if>>
 
 <<if $arcologies[0].FSNull >= 90>>
-- 
GitLab