From 159f8da1f7d0e78bea1ce34a74acd434b82d90b8 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Fri, 13 Nov 2020 23:06:07 -0500
Subject: [PATCH] loop fix

---
 src/events/intro/pcAppearance.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/events/intro/pcAppearance.js b/src/events/intro/pcAppearance.js
index bd29b9b36be..d6ac45529ee 100644
--- a/src/events/intro/pcAppearance.js
+++ b/src/events/intro/pcAppearance.js
@@ -17,7 +17,7 @@ App.Intro.pcAppearance = function(options) {
 
 	function getSkinTone() {
 		const array = [];
-		for (const skin in setup.naturalSkins) {
+		for (const skin of setup.naturalSkins) {
 			array.push([capFirstChar(skin), skin]);
 		}
 		return array;
@@ -25,7 +25,7 @@ App.Intro.pcAppearance = function(options) {
 
 	function getRaces() {
 		const array = [];
-		for (const race in setup.filterRaces) {
+		for (const race of setup.filterRaces) {
 			array.push([race, race.toLowerCase()]);
 		}
 		return array;
-- 
GitLab