1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-21 08:04:48 +00:00

Merge pull request #469 from josephcsible/resetlastexplore

Reset lastexplore when resetting turncount
This commit is contained in:
Zeno Rogue
2025-10-09 08:08:14 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

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

View File

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