From 9f1fc12b6b0a8636bfb0432124c75dc9f9b02bd3 Mon Sep 17 00:00:00 2001 From: Restart2008 Date: Sun, 26 Oct 2025 16:22:41 -0700 Subject: [PATCH] Fix: Correct MIRVExecution tile calculation The x() method was being called twice, passing a number instead of a TileRef. This has been corrected by removing the redundant call. --- src/core/execution/MIRVExecution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/execution/MIRVExecution.ts b/src/core/execution/MIRVExecution.ts index 4492b15b0..a2755fca4 100644 --- a/src/core/execution/MIRVExecution.ts +++ b/src/core/execution/MIRVExecution.ts @@ -70,7 +70,7 @@ export class MirvExecution implements Execution { } this.nuke = this.player.buildUnit(UnitType.MIRV, spawn, {}); const x = Math.floor( - (this.mg.x(this.dst) + this.mg.x(this.mg.x(this.nuke.tile()))) / 2, + (this.mg.x(this.dst) + this.mg.x(this.nuke.tile())) / 2, ); const y = Math.max(0, this.mg.y(this.dst) - 500) + 50; this.separateDst = this.mg.ref(x, y);