mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-24 07:56:59 +00:00
fixed freeze when enabling cspin/cmirror without enabling csteps
This commit is contained in:
parent
6e7cf99d07
commit
56e9f95656
@ -1303,7 +1303,7 @@ EX namespace product {
|
|||||||
|
|
||||||
hrmap_product() {
|
hrmap_product() {
|
||||||
current_spin_invalid = false;
|
current_spin_invalid = false;
|
||||||
if(cspin || cmirror) {
|
if((cspin || cmirror) && csteps) {
|
||||||
in_underlying([&] {
|
in_underlying([&] {
|
||||||
twisted = validate_spin();
|
twisted = validate_spin();
|
||||||
if(!twisted) { current_spin_invalid = true; return; }
|
if(!twisted) { current_spin_invalid = true; return; }
|
||||||
|
Loading…
Reference in New Issue
Block a user