Keep gameplay hotbar selection out of open menus

This commit is contained in:
Cosmic
2026-10-15 15:20:09 -04:00
parent 292873e11a
commit 9b4d5d5613
+3 -1
View File
@@ -8767,7 +8767,9 @@ impl Game<'_> {
| KeyCode::Digit6
| KeyCode::Digit7
| KeyCode::Digit8
| KeyCode::Digit9 => {
| KeyCode::Digit9
if self.screen == Screen::Playing =>
{
self.selected = match key {
KeyCode::Digit1 => 0,
KeyCode::Digit2 => 1,