1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 06:27:17 +00:00

fixed a bug loading scores from other modes to standard mode

This commit is contained in:
Zeno Rogue 2024-07-27 23:25:04 +02:00
parent a07ac62e7d
commit 5a6f5cc4a5

View File

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