From bd24072dfbdb1a1406b4e5ea4154fdbb4a14215b Mon Sep 17 00:00:00 2001
From: DCoded <dcoded@live.com>
Date: Fri, 30 Oct 2020 00:38:18 -0400
Subject: [PATCH] Minor changes and fixes

---
 src/facilities/pit/pit.js      |  1 +
 src/npc/interaction/fAnimal.js | 13 +++++++------
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/facilities/pit/pit.js b/src/facilities/pit/pit.js
index ae5281d74a8..4da800a9faa 100644
--- a/src/facilities/pit/pit.js
+++ b/src/facilities/pit/pit.js
@@ -46,6 +46,7 @@ App.Facilities.Pit.pit = function() {
 
 		link.append(App.UI.DOM.passageLink(`Decommission ${V.pit.name}`, "Main", () => {
 			V.pit = null;
+			V.pit.fighterIDs = [];
 
 			// FIXME: fix this
 			// @ts-ignore
diff --git a/src/npc/interaction/fAnimal.js b/src/npc/interaction/fAnimal.js
index 4efc367e5c5..e22ef0bb54a 100644
--- a/src/npc/interaction/fAnimal.js
+++ b/src/npc/interaction/fAnimal.js
@@ -8,6 +8,7 @@ App.Interact.fAnimal = function(slave, type) {
 
 	const {He, he, him, His, his, girl} = getPronouns(slave);
 
+	/** @enum {string} */
 	const Acts = {
 		VAGINAL: "vaginal",
 		ANAL: "anal",
@@ -631,7 +632,7 @@ App.Interact.fAnimal = function(slave, type) {
 					slave.anus = slave.anus < 2 ? 2 : slave.anus;
 					break;
 				default:
-					throw new Error(`Unexpected act type '${act} in completionCanine()`);
+					throw new Error(`Unexpected act type '${act} in completionCanine().`);
 			}
 		}
 
@@ -655,7 +656,7 @@ App.Interact.fAnimal = function(slave, type) {
 					slave.anus = slave.anus < 3 ? 3 : slave.anus;
 					break;
 				default:
-					throw new Error(`Unexpected act type '${act} in completionHooved()`);
+					throw new Error(`Unexpected act type '${act} in completionHooved().`);
 			}
 		}
 
@@ -681,7 +682,7 @@ App.Interact.fAnimal = function(slave, type) {
 					slave.anus = slave.anus < 1 ? 1 : slave.anus;
 					return;
 				default:
-					throw new Error(`Unexpected act type '${act} in completionFeline()`);
+					throw new Error(`Unexpected act type '${act} in completionFeline().`);
 			}
 		}
 
@@ -721,7 +722,7 @@ App.Interact.fAnimal = function(slave, type) {
 
 					break;
 				default:
-					throw new Error(`Unexpected act type '${act}' in sexEffects()`);
+					throw new Error(`Unexpected act type '${act}' in sexEffects().`);
 			}
 		}
 
@@ -848,7 +849,7 @@ App.Interact.fAnimal = function(slave, type) {
 
 				return mainSpan;
 			default:
-				throw new Error(`Unexpected type value '${type}' in virginityCheck()`);
+				throw new Error(`Unexpected type value '${type}' in virginityCheck().`);
 		}
 	}
 
@@ -987,7 +988,7 @@ App.Interact.fAnimal = function(slave, type) {
 
 				return mainSpan;
 			default:
-				throw new Error(`Unexpected type value '${type}' in virginityEffects()`);
+				throw new Error(`Unexpected type value '${type}' in virginityEffects().`);
 		}
 	}
 };
-- 
GitLab