Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Oct 4, 2024
1 parent a9c9b02 commit 1d87d7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ledder/server/drivers/OffsetMapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export default class OffsetMapper extends Array {
this.push([])
for (let y = 0; y < this.height; y++) {
if (order)
this[x].push(x * this.height + y)
else
this[x].push(order[x] * this.height + y)
else
this[x].push(x * this.height + y)
}
}
}
Expand Down

0 comments on commit 1d87d7d

Please sign in to comment.