diff --git a/apps/client/src/scenes/game/GameManager.ts b/apps/client/src/scenes/game/GameManager.ts index e4ab4ed..90b6e2a 100644 --- a/apps/client/src/scenes/game/GameManager.ts +++ b/apps/client/src/scenes/game/GameManager.ts @@ -238,6 +238,8 @@ return; } + this.playerDeathPolicy.applyLocalHitStun(); + socketManager.game.sendBombHitReport({ bombId }); } diff --git a/apps/client/src/scenes/game/application/PlayerDeathPolicy.ts b/apps/client/src/scenes/game/application/PlayerDeathPolicy.ts index 0646211..56b33b1 100644 --- a/apps/client/src/scenes/game/application/PlayerDeathPolicy.ts +++ b/apps/client/src/scenes/game/application/PlayerDeathPolicy.ts @@ -29,6 +29,11 @@ this.applyHitStun(); } + /** ローカル被弾判定時に硬直を適用する */ + public applyLocalHitStun(): void { + this.applyHitStun(); + } + /** ポリシーが保持するタイマーと入力ロックを解放する */ public dispose(): void { if (this.unlockTimer) {