diff --git a/crates/horizon-client/src/game/lan.rs b/crates/horizon-client/src/game/lan.rs index b95e9f0df..7cce27dac 100644 --- a/crates/horizon-client/src/game/lan.rs +++ b/crates/horizon-client/src/game/lan.rs @@ -472,12 +472,8 @@ impl Game<'_> { } for e in events { if let horizon_world::level::LevelEvent::LevelEvent { id, pos, data } = e { - self.lan_events.push(( - *id as i32, - [pos.x, pos.y, pos.z], - *data as i32, - self.lan_acting, - )); + self.lan_events + .push((*id, [pos.x, pos.y, pos.z], *data, self.lan_acting)); } } }