1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-18 06:30:41 +00:00

nilrider:: do not invalidate later goals

This commit is contained in:
Zeno Rogue 2024-08-20 19:40:58 +02:00
parent 87b9a91f8e
commit 2c947bf65f

View File

@ -90,7 +90,7 @@ bool timestamp::collect(level *lev) {
for(auto& g: lev->goals) {
bool gfailed = failed & Flag(gid);
bool gsuccess = goals & Flag(gid);
if(gfailed || gsuccess) continue;
if(gfailed || gsuccess) { gid++; continue; }
checkerparam cp {this, lev, reversals};
auto res = g.check(cp);
if(res == grFailed) {