Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
added title back
Browse files Browse the repository at this point in the history
  • Loading branch information
loglot committed Nov 5, 2023
1 parent 62305dc commit de1bc15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ class Main {
this.game.mapEdit.drawHitbox()
}

// if(this.game.menu.check) {
if(this.game.menu.check) {
this.game.keys.drawKeys()
this.updateGame();
/*} else {
} else {
this.game.menu.drawMenu()
if(this.game.keyManager.wasKeyJustPressed("KeyW")) {
this.game.menu.fade()
Expand Down
2 changes: 1 addition & 1 deletion system/map-player/player/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export class Player {
if(this.#collisionCheck(3, i, this.map) && !this.#collisionCheck(2, i, this.map)) {
var offset = 25
//console.log("hit!")
if (this.velX > 0) {
if (this.velX < 0) {
this.velX = 0
}
var hitW = this.map.hitboxes[i].width
Expand Down

0 comments on commit de1bc15

Please sign in to comment.