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

Reset lastexplore when resetting turncount

This commit is contained in:
Joseph C. Sible
2025-10-08 22:22:01 -04:00
parent 8b7e82b460
commit 5b2762e90f
2 changed files with 2 additions and 2 deletions

View File

@@ -1096,7 +1096,7 @@ EX namespace mapstream {
if(shmup::on) shmup::init(); if(shmup::on) shmup::init();
timerstart = time(NULL); turncount = 0; timerstart = time(NULL); turncount = 0; lastexplore = 0;
sagephase = 0; hardcoreAt = 0; sagephase = 0; hardcoreAt = 0;
timerstopped = false; timerstopped = false;
savecount = 0; savetime = 0; savecount = 0; savetime = 0;

View File

@@ -407,7 +407,7 @@ EX void initgame() {
if(!safety) { if(!safety) {
usedSafety = false; usedSafety = false;
timerstart = time(NULL); turncount = 0; rosewave = 0; rosephase = 0; timerstart = time(NULL); turncount = 0; lastexplore = 0; rosewave = 0; rosephase = 0;
tickstart = ticks; tickstart = ticks;
noiseuntil = 0; noiseuntil = 0;
sagephase = 0; hardcoreAt = 0; sagephase = 0; hardcoreAt = 0;