From c29ba20f9cc4c14fa99636ca826bc8d22657b365 Mon Sep 17 00:00:00 2001
From: pregmodfan <pregmodfan@cock.li>
Date: Tue, 30 May 2017 11:45:10 +0300
Subject: [PATCH] syntax fixes (sanityCheck)

---
 src/uncategorized/randomIndividualEvent.tw | 4 ++--
 src/uncategorized/reBrothelFunction.tw     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/uncategorized/randomIndividualEvent.tw b/src/uncategorized/randomIndividualEvent.tw
index 99a6d32631d..6aeb4ba4f6e 100644
--- a/src/uncategorized/randomIndividualEvent.tw
+++ b/src/uncategorized/randomIndividualEvent.tw
@@ -497,8 +497,8 @@
 	<<if ($REIfYouEnjoyItSub != 0)>>
 	  <<set $RETSevent.push("if you enjoy it")>>
 	<</if>>
-	<<if $RESimpleAssaultIDs.length > 0)>>
-	<<if $canAchieveErection($eventSlave)>>
+	<<if ($RESimpleAssaultIDs.length > 0)>>
+	<<if canAchieveErection($eventSlave)>>
 		<<set $RETSevent.push("simple assault")>>
 	<</if>>
 	<</if>>
diff --git a/src/uncategorized/reBrothelFunction.tw b/src/uncategorized/reBrothelFunction.tw
index 7f3a64438f0..ae2a2544eee 100644
--- a/src/uncategorized/reBrothelFunction.tw
+++ b/src/uncategorized/reBrothelFunction.tw
@@ -64,7 +64,7 @@ The last of these requests comes in the form of a letter, stamped with the heral
 		<<set $vaginalTotal += 1>>
 		<<set $slaves[$i].analCount += 1>>
 		<<set $analTotal += 1>>
-		<<elseif canDoAnal($slaves[$i])>>>
+		<<elseif canDoAnal($slaves[$i])>>
 		<<set $slaves[$i].analCount += 2>>
 		<<set $analTotal += 2>>
 		<<else>>
-- 
GitLab