From 28a4ad4868f12c9aaf28abc153f2b1d34542c397 Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@mailbox.org> Date: Fri, 16 Sep 2022 20:43:16 +0200 Subject: [PATCH] Fix assigning PC career by age --- src/events/intro/pcAppearance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/intro/pcAppearance.js b/src/events/intro/pcAppearance.js index 847fb362fe6..b2c6991f9d8 100644 --- a/src/events/intro/pcAppearance.js +++ b/src/events/intro/pcAppearance.js @@ -423,7 +423,7 @@ App.UI.Player.assignCareerByAge = function(selection) { career = selection; } else { for (const data of App.Data.player.career.values()) { - if (Object.values(data).includes(V.PC.career)) { + if (Object.values(data).includes(selection)) { if (V.PC.actualAge <= 13) { career = data.child; } else if (V.PC.actualAge <= 21) { -- GitLab