diff --git a/src/client/InputHandler.ts b/src/client/InputHandler.ts index 522536cb9..6f9b9f71a 100644 --- a/src/client/InputHandler.ts +++ b/src/client/InputHandler.ts @@ -191,10 +191,12 @@ export class InputHandler { } if (e.code === "Digit1") { + e.preventDefault(); this.eventBus.emit(new AttackRatioEvent(-10)); } if (e.code === "Digit2") { + e.preventDefault(); this.eventBus.emit(new AttackRatioEvent(10)); }