diff --git a/src/client/InputHandler.ts b/src/client/InputHandler.ts index bdf80997c..b58962b73 100644 --- a/src/client/InputHandler.ts +++ b/src/client/InputHandler.ts @@ -184,10 +184,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)); }