From 94833df5c44f1fb5f65ac90d31af29ce64a453cd Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Thu, 27 May 2021 18:29:45 +0200 Subject: [PATCH] Use ClassJob from UnlockedState --- create-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-card.js b/create-card.js index aa22417..c910aa2 100644 --- a/create-card.js +++ b/create-card.js @@ -251,7 +251,7 @@ class CardCreator { ctx.beginPath(); ctx.fillRect(rectStartX, rectStartRow1Y, rectFullWidth, rectHeightRow1); - ctx.drawImage(this.imgJobBg[data.Character.ActiveClassJob.Class.ID], rectStartX, rectStartRow1Y, rectFullWidth, rectHeightRow1); + ctx.drawImage(this.imgJobBg[data.Character.ActiveClassJob.UnlockedState.ID], rectStartX, rectStartRow1Y, rectFullWidth, rectHeightRow1); ctx.fillRect(rectStartX, rectStartRow2Y, rectHalfWidth, rectHeightRow2); ctx.fillRect(rectStartXHalf, rectStartRow2Y, rectHalfWidth, rectHeightRow2);