Test runner: fill the snapshot's new fields, with the trial run's screen size

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-26 07:57:49 +01:00
parent f7d7c7c70a
commit 8e71cb4754
+3
View File
@@ -87,6 +87,9 @@ impl TestGame {
self.mods.set_snapshot(Snapshot {
player: self.player.clone(),
clock: self.clock,
// The GUI of a 1280 x 720 window at scale 3, as the trial run's.
gui_size: (427.0, 240.0),
..Snapshot::default()
});
}