1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-26 17:06:59 +00:00

one more fix

This commit is contained in:
Zeno Rogue 2024-06-02 18:02:02 +02:00
parent c5cc8be04f
commit 13ff317948

View File

@ -1131,7 +1131,7 @@ constexpr int FIRST_MODECODE = 100000;
#endif
EX modecode_t get_identify(modecode_t xc) {
if(xc < FIRST_MODECODE) {
if(xc < FIRST_MODECODE && !meaning.count(xc)) {
meaning[xc] = "LEGACY";
return xc;
}