From f1f372cf03036c7e144f6fc9157ded46dfd32a7f Mon Sep 17 00:00:00 2001
From: lowercase-donkey <lowercasedonkey@gmail.com>
Date: Sat, 1 Jun 2019 15:45:02 -0400
Subject: [PATCH] belly brand fix

fix
---
 src/js/descriptionWidgets.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/js/descriptionWidgets.js b/src/js/descriptionWidgets.js
index 08b14a1dca3..7e069a3bc0c 100644
--- a/src/js/descriptionWidgets.js
+++ b/src/js/descriptionWidgets.js
@@ -598,8 +598,8 @@ App.Desc.brand = function(slave, surface) {
 
 		if (slave.brand) {
 			bellyAccessory = slave.bellyAccessory;
-			if (setup.fakeBellies.includes(bellyAccessory) && slave.brand["belly"] !== 0) {
-				r += `${His} fake belly has ${slave.brand["belly"]} branded on it. `;
+			if (setup.fakeBellies.includes(bellyAccessory) && slave.brand.belly) {
+				r += `${His} fake belly has ${slave.brand.belly} branded on it. `;
 			} else {
 				for (let [key, value] of Object.entries(slave.brand)) {
 					if (r === ``) {
-- 
GitLab