1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00

fixed a bug with clicking lists in some dialogs

This commit is contained in:
Zeno Rogue 2023-12-12 20:09:19 +01:00
parent 4338ec2b43
commit 062fb577b2

View File

@ -791,7 +791,7 @@ EX namespace dialog {
continue;
}
else list_left -= size;
if(list_next_key) { key_actions[list_next_key] = key_actions[I.key]; I.key = list_next_key++; }
if(list_next_key) { if(key_actions.count(I.key)) key_actions[list_next_key] = key_actions[I.key]; I.key = list_next_key++; }
}
top = tothei;