From 3f69ff0a9c98b26b295fba73202cadae46fc709c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 26 Aug 2026 14:18:32 +0200 Subject: [PATCH] Fix place custody transition witness --- crates/ghostlight-dungeon/src/legacy_transition.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/ghostlight-dungeon/src/legacy_transition.rs b/crates/ghostlight-dungeon/src/legacy_transition.rs index 0e3b2c7..f7d5d3d 100644 --- a/crates/ghostlight-dungeon/src/legacy_transition.rs +++ b/crates/ghostlight-dungeon/src/legacy_transition.rs @@ -3472,7 +3472,10 @@ mod tests { #[test] fn strategic_creation_at_a_place_persists_as_a_place_feature() { let mut campaign = campaign(); - campaign.locations["room"] + campaign + .locations + .get_mut("room") + .unwrap() .persistent_features .push("fixed wall lamp".into()); let plan = StrategicTickPlan {