1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-13 10:50:35 +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; continue;
} }
else list_left -= size; 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; top = tothei;