Skip to content

Commit

Permalink
Allow saga abilities to have no chapters (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
ActuallyEnbeon committed Jul 22, 2024
1 parent 0eb50b0 commit 407e2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/frames/versionSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function sagaEdited() {
sagaContext.fillText(romanNumeral(sagaCount), numeralTextX, numeralTextY - numeralTextSpread);
sagaContext.fillText(romanNumeral(sagaCount + 1), numeralTextX, numeralTextY + numeralTextSpread);
sagaCount += 2;
} else {
} else if (card.saga.abilities[i] > 2) {
var numeralSpread = 2 * scaleHeight(0.0358);
var numeralTextSpread = 2 * scaleHeight(0.0358);
sagaContext.drawImage(sagaChapter, numeralX, numeralY - numeralSpread, numeralWidth, numeralHeight);
Expand Down

0 comments on commit 407e2e1

Please sign in to comment.