From c51b15c6bd65a9153703b8e30cbbfc7dbd416300 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sat, 5 May 2018 02:35:20 -0400
Subject: [PATCH] ndef catch

---
 devNotes/VersionChangeLog-Premod+LoliMod.txt | 3 +++
 src/uncategorized/pRivalryCapture.tw         | 7 +++++++
 2 files changed, 10 insertions(+)

diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt
index eb27adb2540..ce43a6f4479 100644
--- a/devNotes/VersionChangeLog-Premod+LoliMod.txt
+++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt
@@ -4,6 +4,9 @@
 
 5/05/2018
 
+	86.1
+	-added a catch to prevent possible failed rival gen under unknown circumstances
+
 	86
 	-overhauled saPleaseYou
 	-fixed .pregWeek quirks with cheat edit pregnancy (hopefully)
diff --git a/src/uncategorized/pRivalryCapture.tw b/src/uncategorized/pRivalryCapture.tw
index 51079a6a8f1..d62c53c5589 100644
--- a/src/uncategorized/pRivalryCapture.tw
+++ b/src/uncategorized/pRivalryCapture.tw
@@ -23,6 +23,13 @@
 	<</if>>
 <</if>>
 <<set _rivalType = _rivalType.random()>>
+<<if ndef _rivalType>>
+	<<if $PC.dick == 1>>
+		<<set _rivalType = "addict">>
+	<<else>>
+		<<set _rivalType = "masculine">>
+	<</if>>
+<</if>>
 Your 
 <<if passage() == "P rivalry actions">> 
 	target is quickly delivered. Politely dismissing the head of your <<if $mercenariesTitle != "mercenaries">> $mercenariesTitle <<else>> mercenaries <</if>>, you savour 
-- 
GitLab