Fix LAN worlds pausing when the host opens menus

This commit is contained in:
rdbtCVS
2026-10-14 19:53:45 +01:00
parent f83bc0ab70
commit 0ed50ae6ae
+1
View File
@@ -3111,6 +3111,7 @@ impl Game<'_> {
/// `Minecraft.pause`: a single-player game with a pausing screen open.
fn pauses_game(&self) -> bool {
self.remote.is_none()
&& self.lan.is_none()
&& self.title.is_none()
&& (matches!(
self.screen,