1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-12 03:33:00 +00:00

rogueviz:: nilrider:: achievements and leaderboards should be fixed

This commit is contained in:
Zeno Rogue
2025-10-10 11:37:24 +02:00
parent e145de89b1
commit f061dd6cf6

View File

@@ -167,6 +167,9 @@ bool turn(int delta) {
for(int i=0; i<delta * simulation_speed; i++) {
curlev->history.push_back(curlev->current);
curlev->current.be_consistent();
#if RVCOL
auto goals = curlev->current.goals;
#endif
bool b = curlev->current.tick(curlev);
running = b;
if(!b) {
@@ -175,7 +178,6 @@ bool turn(int delta) {
break;
}
#if RVCOL
auto goals = curlev->current.goals;
if(b) {
goals = curlev->current.goals &~goals;
int gid = 0;