From fe927b97587cd12b4003034345de8509315e9d8e Mon Sep 17 00:00:00 2001 From: scamiv <6170744+scamiv@users.noreply.github.com> Date: Mon, 8 Dec 2025 19:12:05 +0100 Subject: [PATCH] Fix fallback, Merge packed tile updates in non-SAB mode --- src/client/ClientGameRunner.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/ClientGameRunner.ts b/src/client/ClientGameRunner.ts index 265331a92..8aee55653 100644 --- a/src/client/ClientGameRunner.ts +++ b/src/client/ClientGameRunner.ts @@ -738,10 +738,13 @@ export class ClientGameRunner { combinedPackedTileUpdates.push(BigInt(ref)); } } else { - // Non-SAB mode: count tile updates from batch + // Non-SAB mode: merge packed tile updates from batch let totalTileUpdates = 0; for (const gu of batch) { totalTileUpdates += gu.packedTileUpdates.length; + for (const tu of gu.packedTileUpdates) { + combinedPackedTileUpdates.push(tu); + } } tileMetrics.count = totalTileUpdates; }