1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-30 03:50:34 +00:00

modecode now ignores invalid geometries in the save

This commit is contained in:
Zeno Rogue 2018-11-30 20:30:03 +01:00
parent 3182600a58
commit 48c15ce297

View File

@ -903,7 +903,7 @@ int modecodetable[42][6] = {
int modecode() {
#if CAP_SAVE
if(anticheat::tampered || cheater) return 6;
if(anticheat::tampered || cheater || geometry >= gGUARD) return 6;
#endif
// compute the old code