[PR #5293] [CLOSED] Main builds again: one Attack arm in the LAN hub #6191

Closed
opened 2026-11-03 06:15:42 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5293
Author: @ludovic111
Created: 10/31/2026
Status: ❌ Closed

Base: main ← Head: hotfix/attack-arm


📝 Commits (1)

  • f85ccb2 Main builds again: one Attack arm in the hub, anticheat first, then the queued-move break

📊 Changes

1 file changed (+7 additions, -10 deletions)

View changed files

📝 crates/horizon-client/src/lan/hub.rs (+7 -10)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

#5123 (merged 17:09) added a second S::Attack arm in lan/hub.rs below the anticheat's (#5125). The first one matches every attack, so main fails clippy -D warnings (unreachable pattern, every PR's verify is red) and the new queued-move break never ran.

One arm now: the anticheat checks the attack first; an attack it forwards is followed by #5123's break when a move is queued behind it (handleAttack runs before that move, so a falling attack keeps its critical hit). handleInteract keeps its own arm.

cargo clippy -p horizon-client --lib --bins --tests -- -D warnings passes.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/5293 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/31/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `hotfix/attack-arm` --- ### 📝 Commits (1) - [`f85ccb2`](https://github.com/horizon-rust/horizon/commit/f85ccb2bd2940ae51adbe501aef1a1d7a40f1372) Main builds again: one Attack arm in the hub, anticheat first, then the queued-move break ### 📊 Changes **1 file changed** (+7 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/lan/hub.rs` (+7 -10) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. #5123 (merged 17:09) added a second `S::Attack` arm in `lan/hub.rs` below the anticheat's (#5125). The first one matches every attack, so main fails `clippy -D warnings` (`unreachable pattern`, every PR's verify is red) and the new queued-move `break` never ran. One arm now: the anticheat checks the attack first; an attack it forwards is followed by #5123's break when a move is queued behind it (handleAttack runs before that move, so a falling attack keeps its critical hit). `handleInteract` keeps its own arm. `cargo clippy -p horizon-client --lib --bins --tests -- -D warnings` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:15:42 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#6191
No description provided.