From cedd32b04427653e9ef2b925ed2adb4ab681863e Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 9 Sep 2020 16:03:54 -0400
Subject: [PATCH] fix bad data

---
 js/003-data/slaveMods.js                             | 2 +-
 src/data/backwardsCompatibility/updateSlaveObject.js | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/js/003-data/slaveMods.js b/js/003-data/slaveMods.js
index 5a3c46fd813..263a4951442 100644
--- a/js/003-data/slaveMods.js
+++ b/js/003-data/slaveMods.js
@@ -356,7 +356,7 @@ App.Medicine.Modification.hairStyles = {
 		},
 		{
 			title: "Trimmed short",
-			value: "Salon",
+			value: "trimmed",
 			hLength: 10
 		},
 		{
diff --git a/src/data/backwardsCompatibility/updateSlaveObject.js b/src/data/backwardsCompatibility/updateSlaveObject.js
index af4d2a0f912..801cccff830 100644
--- a/src/data/backwardsCompatibility/updateSlaveObject.js
+++ b/src/data/backwardsCompatibility/updateSlaveObject.js
@@ -182,6 +182,8 @@ App.Update.Slave = function(slave, genepool = false) {
 		}
 	}
 
+	if (slave.hStyle === "Salon") { slave.hStyle = "trimmed"; }
+
 	if (V.releaseID < 1052) {
 		const prosthetics = slave.readyProsthetics;
 		slave.readyProsthetics = [];
-- 
GitLab