mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 06:27:17 +00:00
twist:: do not display disc_quotient warning in sphere
This commit is contained in:
parent
1b51295008
commit
cf4912a895
@ -1367,7 +1367,7 @@ EX namespace hybrid {
|
||||
if(disc_quotient == 0) disc_quotient = val;
|
||||
disc_quotient = gcd(val, disc_quotient);
|
||||
if(disc_quotient < 0) disc_quotient = -disc_quotient;
|
||||
if(old_disc_quotient != disc_quotient && !in_underlying([] { return quotient; }))
|
||||
if(old_disc_quotient != disc_quotient && !in_underlying([] { return quotient || sphere; }))
|
||||
addMessage(XLAT("ERROR: failed to solve the twist values, the map will be incorrect", its(disc_quotient)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user