From 8ceeba82094ecf5a239a0c782c96aaa4b8f736b2 Mon Sep 17 00:00:00 2001
From: Skriv <skrivelese@gmail.com>
Date: Tue, 26 Mar 2019 22:30:03 +0100
Subject: [PATCH] compacting randomRaceSkin

---
 src/js/utilJS.js | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/src/js/utilJS.js b/src/js/utilJS.js
index fe997b294b6..f0578db40de 100644
--- a/src/js/utilJS.js
+++ b/src/js/utilJS.js
@@ -1536,29 +1536,19 @@ window.randomRaceSkin = function(raceName)
 			skin = jsEither(["dark olive", "light olive", "light"]);
 			break;
 		case "amerindian":
+		case "indo-aryan":
+		case "malay":
+		case "pacific islander":
 			skin = jsEither(["dark", "light"]);
 			break;
 		case "black":
 			skin = jsEither(["black", "brown", "dark brown"]);
 			break;
-		case "indo-aryan":
-			skin = jsEither(["dark", "light"]);
-			break;
 		case "latina":
 			skin = jsEither(["brown", "dark brown", "dark olive", "light olive", "tanned"]);
 			break;
-		case "malay":
-			skin = jsEither(["dark", "light"]);
-			break;
 		case "middle eastern":
-			skin = jsEither(["fair", "light olive", "light", "tanned"]);
-			break;
-		case "pacific islander":
-			skin = jsEither(["dark", "light"]);
-			break;
 		case "semitic":
-			skin = jsEither(["fair", "light olive", "light", "tanned"]);
-			break;
 		case "southern european":
 			skin = jsEither(["fair", "light olive", "light", "tanned"]);
 			break;
-- 
GitLab