mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 23:47:00 +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() {
|
||||
current_spin_invalid = false;
|
||||
if(cspin || cmirror) {
|
||||
if((cspin || cmirror) && csteps) {
|
||||
in_underlying([&] {
|
||||
twisted = validate_spin();
|
||||
if(!twisted) { current_spin_invalid = true; return; }
|
||||
|
Loading…
Reference in New Issue
Block a user