From 8e71cb4754c17fbc083ef212fdd21806c7900309 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Mon, 26 Oct 2026 07:57:49 +0100 Subject: [PATCH] Test runner: fill the snapshot's new fields, with the trial run's screen size Co-Authored-By: Claude Opus 5.5 --- crates/horizon-mods/src/testing.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/horizon-mods/src/testing.rs b/crates/horizon-mods/src/testing.rs index 4a62b3838..d8c8076b4 100644 --- a/crates/horizon-mods/src/testing.rs +++ b/crates/horizon-mods/src/testing.rs @@ -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() }); }