Correct my 2 off-by-one errors so that the gear list only spans 12 rows instead of 14
This commit is contained in:
parent
dc4411a2b3
commit
1bf1b2cd91
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ export class HeroSkillsCardV1 extends GenericAppMixin(HandlebarsApplicationMixin
|
|||
};
|
||||
|
||||
if (ctx.gear.length < limit) {
|
||||
for (let i = ctx.gear.length - 1; i <= limit; i++) {
|
||||
for (let i = ctx.gear.length; i < limit; i++) {
|
||||
ctx.gear.push({
|
||||
index: ctx.gear.length,
|
||||
uuid: ``,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue