Skip to content

Commit

Permalink
change: spawn enemies at (0,0)
Browse files Browse the repository at this point in the history
  • Loading branch information
greenpixels committed Apr 6, 2024
1 parent 7abd209 commit d1855e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/PlayerHandler/PlayerHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class PlayerHandler {
}

addPlayer(socket: Socket) {
const newPlayer = new Player(socket.id, { x: 50, y: 50 })
const newPlayer = new Player(socket.id, { x: 0, y: 0 })
this.players[socket.id] = newPlayer
socket.on(
this.gameEventHandler.EVENT_PLAYER_MOVE,
Expand Down

0 comments on commit d1855e9

Please sign in to comment.