From 5503ad9d1aacb8e8448ca654827a71ef3e6664da Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 13 Jan 2024 12:01:18 +0900 Subject: [PATCH] clean up --- packages/frontend/src/pages/drop-and-fusion.game.vue | 1 - packages/frontend/src/scripts/drop-and-fusion-engine.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/packages/frontend/src/pages/drop-and-fusion.game.vue b/packages/frontend/src/pages/drop-and-fusion.game.vue index cca2d75c76..f0fdc4d491 100644 --- a/packages/frontend/src/pages/drop-and-fusion.game.vue +++ b/packages/frontend/src/pages/drop-and-fusion.game.vue @@ -671,7 +671,6 @@ function replay() { seed: seed, gameMode: props.gameMode, getMonoRenderOptions, - replaying: true, }); attachGameEvents(); os.promiseDialog(loadMonoTextures(), async () => { diff --git a/packages/frontend/src/scripts/drop-and-fusion-engine.ts b/packages/frontend/src/scripts/drop-and-fusion-engine.ts index cc7f9abd56..db99370d0b 100644 --- a/packages/frontend/src/scripts/drop-and-fusion-engine.ts +++ b/packages/frontend/src/scripts/drop-and-fusion-engine.ts @@ -308,7 +308,6 @@ export class DropAndFusionGame extends EventEmitter<{ private gameMode: 'normal' | 'yen' | 'square'; private rng: () => number; private logs: Log[] = []; - private replaying = false; /** * フィールドに出ていて、かつ合体の対象となるアイテム @@ -364,7 +363,6 @@ export class DropAndFusionGame extends EventEmitter<{ constructor(env: { seed: string; gameMode: DropAndFusionGame['gameMode']; - replaying?: boolean; getMonoRenderOptions?: (mono: Mono) => Partial; }) { super(); @@ -373,7 +371,6 @@ export class DropAndFusionGame extends EventEmitter<{ this.tick = this.tick.bind(this); //#endregion - this.replaying = !!env.replaying; this.gameMode = env.gameMode; this.getMonoRenderOptions = env.getMonoRenderOptions ?? null; this.rng = seedrandom(env.seed);