Skip to content

Commit

Permalink
Fixed checkpoint height
Browse files Browse the repository at this point in the history
I know that the deadline has already passed, but I found one of the
tinest possible mistakes, and I wouldn't be able to go to sleep tonight
knowing that it's there in the repo.
  • Loading branch information
sgalban committed Apr 30, 2019
1 parent 2978672 commit 44d5c28
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/bundle.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/LevelGenerator/GeometryGenerator.ts
Expand Up @@ -285,13 +285,13 @@ export default class GeometryGenerator {
if (lastRest) {
new Gem([
Math.floor(this.currentPos[0] - length / 2),
this.currentPos[1] + 1
this.currentPos[1] + 2
]);
}
else {
new Checkpoint([
Math.floor(this.currentPos[0] - length / 2),
this.currentPos[1] + 2
this.currentPos[1] + 1
]);
}
}
Expand Down

0 comments on commit 44d5c28

Please sign in to comment.