From 80dacdba68fcac9def47f162005ae8ea80246825 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sun, 18 Oct 2026 18:36:16 +0200 Subject: [PATCH] lan_attributes: read items through Resources::items() after #878 Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/lan_attributes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/horizon-client/src/game/lan_attributes.rs b/crates/horizon-client/src/game/lan_attributes.rs index 9a324e332..72d06c2ef 100644 --- a/crates/horizon-client/src/game/lan_attributes.rs +++ b/crates/horizon-client/src/game/lan_attributes.rs @@ -53,7 +53,7 @@ impl Game<'_> { out: &mut Vec, ) { for (slot, item) in slots { - let Some(info) = item.and_then(|i| self.res.items.get(i)) else { + let Some(info) = item.and_then(|i| self.res.items().get(i)) else { continue; }; for (attribute, id, amount, op, group) in &info.modifiers {