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:
parent
a07ac62e7d
commit
5a6f5cc4a5
@ -1171,6 +1171,7 @@ constexpr int FIRST_MODECODE = 100000;
|
|||||||
EX modecode_t get_identify(modecode_t xc) {
|
EX modecode_t get_identify(modecode_t xc) {
|
||||||
if(xc < FIRST_MODECODE && !meaning.count(xc)) {
|
if(xc < FIRST_MODECODE && !meaning.count(xc)) {
|
||||||
meaning[xc] = "LEGACY";
|
meaning[xc] = "LEGACY";
|
||||||
|
identify_modes[xc] = xc;
|
||||||
return xc;
|
return xc;
|
||||||
}
|
}
|
||||||
return identify_modes[xc];
|
return identify_modes[xc];
|
||||||
|
Loading…
Reference in New Issue
Block a user