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);