mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
rogueviz:: nilrider:: achievements and leaderboards should be fixed
This commit is contained in:
1 parent
e145de89b1
commit
f061dd6cf6
1 file changed
+3
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user