Skip to content

Commit

Permalink
Fixed the auto shoot to actually shoot.
Browse files Browse the repository at this point in the history
  • Loading branch information
Croquetx committed May 20, 2024
1 parent 95fd740 commit c2ae08f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Pawns-Avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,11 @@ export class AvatarPawn extends mix(Pawn).with(PM_Smoothed, PM_ThreeVisible, PM_
case "ArrowRight": case "D": case "d":
this.turn = -1; break;
case "O": case "o":
if (this.developerMode === 5) this.auto = !this.auto; break;
if (this.developerMode === 5) {
this.shootNow = true;
this.auto = !this.auto;
}
break;
case "H": case "h":
if (this.developerMode === 5) this.goHome(); break;
case "Shift":
Expand Down

0 comments on commit c2ae08f

Please sign in to comment.