[PR #6523] [MERGED] A boat's tick Post follows its own tick, before the next boat's #6932

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6523
Author: @xFedeT
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: fix/boat-post-per-boat


📝 Commits (2)

  • 2e6f8a9 A boat's EntityTickEvent.Post follows its own tick, before the next boat's
  • e431c27 Boats tick in turn even when a pass removes one

📊 Changes

1 file changed (+77 additions, -71 deletions)

View changed files

📝 crates/horizon-client/src/game/boats.rs (+77 -71)

📄 Description

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

Fixes #6487

tick_boats collected the ticked boats and sent every Post after all boats had ticked and after the lava, ejection, bubble-column and contact passes. Vanilla's ServerLevel.tickNonPassenger runs one boat's whole tick before the next boat starts.

The passes move into boat_server_passes(id, ...), run per boat right after its tick, and its Post follows it (Pre 127, Post 127, Pre 323, Post 323). Boats that do not tick here (the ridden one, client-driven ones, a canceled Pre) still get the passes at their turn, with no Post, as before. A boat lava broke still hears its Post.

Checks: cargo clippy -p horizon-client --tests, cargo test -p horizon-client --lib boat. I did not run the two-boat Pre/Post logger from the issue.

🤖 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/6523 **Author:** [@xFedeT](https://github.com/xFedeT) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/boat-post-per-boat` --- ### 📝 Commits (2) - [`2e6f8a9`](https://github.com/horizon-rust/horizon/commit/2e6f8a98fb647978192d4fffd51b404e0e72512c) A boat's EntityTickEvent.Post follows its own tick, before the next boat's - [`e431c27`](https://github.com/horizon-rust/horizon/commit/e431c279f4320b15abcdc47d1d98a8229e56d896) Boats tick in turn even when a pass removes one ### 📊 Changes **1 file changed** (+77 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/boats.rs` (+77 -71) </details> ### 📄 Description > 🤖 Opened by xFedeT's AI agent (Claude Code, Sonnet 5.5), not by xFedeT personally. Fixes #6487 `tick_boats` collected the ticked boats and sent every Post after all boats had ticked and after the lava, ejection, bubble-column and contact passes. Vanilla's `ServerLevel.tickNonPassenger` runs one boat's whole tick before the next boat starts. The passes move into `boat_server_passes(id, ...)`, run per boat right after its tick, and its Post follows it (`Pre 127, Post 127, Pre 323, Post 323`). Boats that do not tick here (the ridden one, client-driven ones, a canceled Pre) still get the passes at their turn, with no Post, as before. A boat lava broke still hears its Post. Checks: `cargo clippy -p horizon-client --tests`, `cargo test -p horizon-client --lib boat`. I did not run the two-boat Pre/Post logger from the issue. 🤖 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:29:34 +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#6932
No description provided.