Skip to content

Commit

Permalink
📸 removing this annoying camera
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeFTN committed Dec 23, 2024
1 parent 334f1a1 commit 9116a32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class Warfrost extends Phaser.Scene {
this.socket.on("units::update", this);

// Camera Position
this.cameraMovement(this.input.activePointer);
// this.cameraMovement(this.input.activePointer);

// Create or Update New Units!
this?.unitsData?.forEach((unit: Models.UnitData) => {
Expand Down Expand Up @@ -195,7 +195,7 @@ class Warfrost extends Phaser.Scene {
}

// Set fullscreen
if (!this.scale.isFullscreen) { this.scale.startFullscreen(); }
// if (!this.scale.isFullscreen) { this.scale.startFullscreen(); }
}

onPointerMove(pointer: Phaser.Input.Pointer): void {
Expand Down

0 comments on commit 9116a32

Please sign in to comment.