1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-27 09:24:53 +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 #endif
EX modecode_t get_identify(modecode_t xc) { EX modecode_t get_identify(modecode_t xc) {
if(xc < FIRST_MODECODE) { if(xc < FIRST_MODECODE && !meaning.count(xc)) {
meaning[xc] = "LEGACY"; meaning[xc] = "LEGACY";
return xc; return xc;
} }