From 75d7b09ea5cc5c3df11640412b2e1f724917cb4f Mon Sep 17 00:00:00 2001 From: scamiv <6170744+scamiv@users.noreply.github.com> Date: Wed, 26 Nov 2025 17:03:17 +0100 Subject: [PATCH] Revert "Merge branch 'sab' into Atomic-SAB" This reverts commit d61046c3aa0bf7274e69c9be8ef18cbc72dda04d, reversing changes made to a839cedfc3ab8a21a380263dc5a1f15c0a6ba8a0. --- src/core/GameRunner.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/core/GameRunner.ts b/src/core/GameRunner.ts index 9869ec07c..8908e8927 100644 --- a/src/core/GameRunner.ts +++ b/src/core/GameRunner.ts @@ -186,13 +186,14 @@ export class GameRunner { let packedTileUpdates: BigUint64Array; const tileUpdates = updates[GameUpdateType.Tile]; if (this.tileUpdateSink !== undefined) { - const seenTiles = new Set(); + if (tileUpdates.length > 0) { + console.log("[GameRunner] tile updates for tick", this.game.ticks(), { + count: tileUpdates.length, + }); + } for (const u of tileUpdates) { const tileRef = Number(u.update >> 16n) as TileRef; - if (!seenTiles.has(tileRef)) { - seenTiles.add(tileRef); - this.tileUpdateSink(tileRef); - } + this.tileUpdateSink(tileRef); } packedTileUpdates = new BigUint64Array(); } else {