From cc1150b6006388be80f0958229c782c253a4104d Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Mon, 8 Oct 2018 04:46:58 -0400
Subject: [PATCH] NaN complaint fix

---
 src/utility/assayWidgets.tw | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utility/assayWidgets.tw b/src/utility/assayWidgets.tw
index 57898776b85..d3d0d9af1e4 100644
--- a/src/utility/assayWidgets.tw
+++ b/src/utility/assayWidgets.tw
@@ -960,7 +960,7 @@
 <</if>>
 
 <<if ($args[0].boobsImplant == 0) && ($args[0].buttImplant == 0) && ($args[0].waist >= -95) && ($args[0].lipsImplant == 0) && ($args[0].faceImplant < 30) && ($args[0].bellyImplant == -1) && (Math.abs($args[0].shouldersImplant) < 2) && (Math.abs($args[0].hipsImplant) < 2)>>
-	<<set $pure += 1>>
+	<<if def $pure>><<set $pure += 1>><</if>>
 	<<if $arcologies[0].FSBodyPurist != "unset">>
 	<<set $beauty += ($arcologies[0].FSBodyPurist/5)>>
 	<</if>>
-- 
GitLab