1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 12:27:40 +00:00

added/fixed some missing RVCOL guards

This commit is contained in:
Zeno Rogue
2025-07-12 14:55:46 +02:00
parent 9d9da019df
commit f0d014affd
2 changed files with 7 additions and 1 deletions

View File

@@ -1031,12 +1031,16 @@ void seuphorica_screen() {
post_achievements();
if(roundindex == 21) {
save();
#if RVCOL
if(is_daily && cheats == 0) rogueviz::rv_leaderboard("Seuphorica daily " + its(daily) + ": " + get_geom_name(), total_gain, 1, rvlc::num, rv_data());
if(cheats == 0) rogueviz::rv_leaderboard("Seuphorica 20: " + get_geom_name() + get_setname(), total_gain, 1, rvlc::num, rv_data());
#endif
}
if(roundindex == 51) {
save();
#if RVCOL
if(cheats == 0) rogueviz::rv_leaderboard("Seuphorica 50: " + get_geom_name() + get_setname(), total_gain, 1, rvlc::num, rv_data());
#endif
}
});
}
@@ -1749,7 +1753,9 @@ string get_geom_name() {
void save_old_game_if_needed() {
// no point to save on the 1st turn, and also on 21st and 51st turn, it has just been saved
if(!among(roundindex, 0, 1, 21, 51)) save();
#if RVCOL
if(cheats == 0) rogueviz::rv_leaderboard("Seuphorica endless: " + get_geom_name() + get_setname(), total_gain, 1, rvlc::num);
#endif
}
void load() {