commit
c00c2470ac
1 changed files with 6 additions and 1 deletions
|
@ -293,7 +293,12 @@ class CardCreator {
|
||||||
// Name, Title, Server Rect
|
// Name, Title, Server Rect
|
||||||
ctx.fillRect(25, 10, 840, 100);
|
ctx.fillRect(25, 10, 840, 100);
|
||||||
|
|
||||||
ctx.drawImage(this.imgJobBg[data.Character.ActiveClassJob.UnlockedState.ID], 450, 4, rectFullWidth, 110);
|
// BLU returns a null UnlockedState.ID so we can't use it to pick the job image.
|
||||||
|
if (data.Character.ActiveClassJob.UnlockedState.ID != null) {
|
||||||
|
ctx.drawImage(this.imgJobBg[data.Character.ActiveClassJob.UnlockedState.ID], 450, 4, rectFullWidth, 110);
|
||||||
|
} else {
|
||||||
|
ctx.drawImage(this.imgJobBg[36], 450, 4, rectFullWidth, 110);
|
||||||
|
}
|
||||||
|
|
||||||
ctx.fillRect(rectStartX, rectStartRow2Y, rectHalfWidth, rectHeightRow2);
|
ctx.fillRect(rectStartX, rectStartRow2Y, rectHalfWidth, rectHeightRow2);
|
||||||
ctx.fillRect(rectStartXHalf, rectStartRow2Y, rectHalfWidth, rectHeightRow2);
|
ctx.fillRect(rectStartXHalf, rectStartRow2Y, rectHalfWidth, rectHeightRow2);
|
||||||
|
|
Loading…
Reference in a new issue