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:
parent
c5cc8be04f
commit
13ff317948
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user