Clear a bundle's selection when the cursor leaves it on a server's client too

This commit is contained in:
Kacpherek
2026-10-26 21:46:13 +01:00
parent a08f3eb2fa
commit 3bb6e40304
+2
View File
@@ -3136,6 +3136,8 @@ impl Game<'_> {
// server says the entry ended. `onCooldownEnded` is the plain
// ItemCooldowns' no-op on a client.
self.cooldowns.tick();
// Leaving a slot clears its bundle's selection here and on the server.
self.tick_bundle_hover();
// Options.broadcastOptions: a changed render distance or Chat option
// is sent again.
let view = client_view_distance(self.settings.render_distance);