From 1983b2f6ac2c5bf2cba21203f6a2a94cc370d732 Mon Sep 17 00:00:00 2001 From: WiseDev <83840010+wisedevik@users.noreply.github.com> Date: Sun, 23 Aug 2026 15:00:11 +0300 Subject: [PATCH] log what actually goes into the snapshot when a unit spawns the bot's units get models and the player's do not, and both take the same path through summon() - only owner and position differ, and position for a player's card comes off the wire. so print the id, the data row, the owner and the position at the moment the object joins the battle, and compare the two sides instead of guessing again. --- crates/game-service/src/battle_session.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/game-service/src/battle_session.rs b/crates/game-service/src/battle_session.rs index b11f2f1..7ec52a3 100644 --- a/crates/game-service/src/battle_session.rs +++ b/crates/game-service/src/battle_session.rs @@ -291,6 +291,14 @@ impl BattleSession { } }); for entry in due { + tracing::info!( + tick, + global_id = ?entry.global_id.0, + data = %entry.data, + owner = entry.owner_index(), + position = ?entry.position(), + "spawning" + ); self.mode.battle.objects.push(entry); } }