diff --git a/src/uncategorized/reputation.tw b/src/uncategorized/reputation.tw
index 8adec7a6b46e8d9110e8fec0476e89e0fc9e0c88..645afe914f38b7a70d067bc274f622f18e34c445 100644
--- a/src/uncategorized/reputation.tw
+++ b/src/uncategorized/reputation.tw
@@ -127,7 +127,7 @@ _enduringRep = $enduringRep>>
 	<</if>>
 	<<set $enduringRep += Math.trunc(1 + Math.pow((10000 - $enduringRep) / 5770, 2) * _repLoss * 0.1)>>
 <<else>>
-	<<if $arcologies[0].FSChattelReligionistLaw == 1 || $arcologies[0].FSRestartDecoration = 100>>
+	<<if $arcologies[0].FSChattelReligionistLaw == 1 || $arcologies[0].FSRestartDecoration == 100>>
 		<<set $PC.degeneracy = 0>>
 	<</if>>
 	<<set _repLoss = 0>>