From c0d28358d6090c5a12586efdb369b03a468696e2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 9 Jan 2024 16:34:01 +0900 Subject: [PATCH] Update drop-and-fusion-engine.ts --- packages/frontend/src/scripts/drop-and-fusion-engine.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/scripts/drop-and-fusion-engine.ts b/packages/frontend/src/scripts/drop-and-fusion-engine.ts index 9d82bea433..e5aa3fbe93 100644 --- a/packages/frontend/src/scripts/drop-and-fusion-engine.ts +++ b/packages/frontend/src/scripts/drop-and-fusion-engine.ts @@ -239,7 +239,7 @@ export class DropAndFusionGame extends EventEmitter<{ // 連鎖してfusionした場合の分かりやすさのため少し間を置いてからfusion対象になるようにする this.tickCallbackQueue.push({ - frame: this.frame + 100, + frame: this.frame + 6, callback: () => { this.activeBodyIds.push(body.id); }, @@ -347,7 +347,7 @@ export class DropAndFusionGame extends EventEmitter<{ } else { fusionReservedPairs.push({ bodyA, bodyB }); this.tickCallbackQueue.push({ - frame: this.frame + 100, + frame: this.frame + 6, callback: () => { fusionReservedPairs = fusionReservedPairs.filter(x => x.bodyA.id !== bodyA.id && x.bodyB.id !== bodyB.id); this.fusion(bodyA, bodyB);