From f298a48fdc2509e198ba53690fb538b951a61458 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Fri, 17 May 2019 15:09:56 -0700
Subject: [PATCH] Fixed bodyModification variable

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

diff --git a/src/uncategorized/bodyModification.tw b/src/uncategorized/bodyModification.tw
index cb87d6ba542..c7e4aabbc32 100644
--- a/src/uncategorized/bodyModification.tw
+++ b/src/uncategorized/bodyModification.tw
@@ -1003,7 +1003,7 @@ Choose a site for branding:
 
 
 <br>&nbsp;&nbsp;&nbsp;&nbsp;
-<<if ["neck", "chest", "belly", "pubic mound", "back", "lower back", "penis"].includes(brandLocation)>>
+<<if ["neck", "chest", "belly", "pubic mound", "back", "lower back", "penis"].includes($activeSlave.brandLocation)>>
 	[[Brand|Body Modification][$brandApplied = 1,$activeSlave.brand = $brandDesign,$activeSlave.brandLocation = $brandTarget,cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave),$degradation += 10]] with $brandDesign on the $brandTarget.
 <<else>>
 	Brand $him now with ''$brandDesign'' on the
-- 
GitLab