[PR #172] [MERGED] Fix LAN worlds pausing when the host opens menus #2374

Closed
opened 2026-11-02 15:55:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/172
Author: @rdbtCVS
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @ludovic111

Base: main ← Head: t3code/fix-lan-world-menu-pause


📝 Commits (1)

  • 0ed50ae Fix LAN worlds pausing when the host opens menus

📊 Changes

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

View changed files

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

📄 Description

Opening the host’s menu stopped LAN world ticks because the pause check only excluded remote server connections. Exclude worlds published to LAN as well, so the simulation and guests continue running while the host uses menus or books. Private single-player worlds still pause.

Validation:

  • cargo test -p horizon-client --bin horizon-client — 26 passed.
  • cargo fmt --all -- --check.
  • python3 tools/check_public_tree.py — passed.
  • cargo clippy -p horizon-client --bin horizon-client -- -D warnings — blocked by 9 existing lint errors in unchanged horizon-world files (including block_survival.rs, edge_backoff.rs, level/tick.rs, and world generation modules), before the client is checked.
  • Temporary isolated Rust harness compiled the production pause predicate and screen enum: 3 checks passed across all screens, books, remote connections, private single-player, and LAN publication/removal. Removing the fix fails both LAN checks.

A graphical multiplayer session was not run.


🔄 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/172 **Author:** [@rdbtCVS](https://github.com/rdbtCVS) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `t3code/fix-lan-world-menu-pause` --- ### 📝 Commits (1) - [`0ed50ae`](https://github.com/horizon-rust/horizon/commit/0ed50ae6ae9d7c712b3f36f7e8b224682e1a280c) Fix LAN worlds pausing when the host opens menus ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+1 -0) </details> ### 📄 Description Opening the host’s menu stopped LAN world ticks because the pause check only excluded remote server connections. Exclude worlds published to LAN as well, so the simulation and guests continue running while the host uses menus or books. Private single-player worlds still pause. Validation: - `cargo test -p horizon-client --bin horizon-client` — 26 passed. - `cargo fmt --all -- --check`. - `python3 tools/check_public_tree.py` — passed. - `cargo clippy -p horizon-client --bin horizon-client -- -D warnings` — blocked by 9 existing lint errors in unchanged `horizon-world` files (including `block_survival.rs`, `edge_backoff.rs`, `level/tick.rs`, and world generation modules), before the client is checked. - Temporary isolated Rust harness compiled the production pause predicate and screen enum: 3 checks passed across all screens, books, remote connections, private single-player, and LAN publication/removal. Removing the fix fails both LAN checks. A graphical multiplayer session was not run. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:55:25 +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#2374
No description provided.