[PR #4871] [CLOSED] Fix main's build: goat horn held use returns a bool #5904

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

📋 Pull Request Information

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

Base: main ← Head: fix/goat-horn-held-use-return


📝 Commits (1)

  • 7b1f2e9 Fix main's build: the goat horn's held use returns whether it started

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game/remote.rs (+2 -1)

📄 Description

🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally.

What and why

main does not compile: #4085 changed remote_start_held_use (game/remote.rs) to return bool, while the goat horn branch added by 9b88df32d still ends in a bare return;. Both merged close together, so neither PR's CI saw the other.

remote_use_instrument starts the use itself (like the trident branch above it), so the branch now returns self.using.is_some(): false when the horn has no instrument or is on cooldown, which is InstrumentItem.use's FAIL.

Self-check

  • cargo check --workspace --all-targets clean; clippy -p horizon-client --all-targets -D warnings clean; cargo check -p horizon-client --lib --bins --target x86_64-pc-windows-gnu --no-default-features clean.

🤖 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/4871 **Author:** [@levzzz5154](https://github.com/levzzz5154) **Created:** 10/31/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/goat-horn-held-use-return` --- ### 📝 Commits (1) - [`7b1f2e9`](https://github.com/horizon-rust/horizon/commit/7b1f2e9b059ce3c10cdeb482408ad7d88310c8e9) Fix main's build: the goat horn's held use returns whether it started ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/remote.rs` (+2 -1) </details> ### 📄 Description > 🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally. ## What and why `main` does not compile: #4085 changed `remote_start_held_use` (game/remote.rs) to return `bool`, while the goat horn branch added by 9b88df32d still ends in a bare `return;`. Both merged close together, so neither PR's CI saw the other. `remote_use_instrument` starts the use itself (like the trident branch above it), so the branch now returns `self.using.is_some()`: false when the horn has no instrument or is on cooldown, which is `InstrumentItem.use`'s FAIL. ## Self-check - `cargo check --workspace --all-targets` clean; `clippy -p horizon-client --all-targets -D warnings` clean; `cargo check -p horizon-client --lib --bins --target x86_64-pc-windows-gnu --no-default-features` clean. 🤖 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 05:15:48 +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#5904
No description provided.