1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-03 19:27:54 +00:00

rogueviz:: nilrider:: fixed star counting

This commit is contained in:
Zeno Rogue
2025-06-25 22:02:39 +02:00
parent b93f9838a1
commit 4d334ad9d9

View File

@@ -345,8 +345,8 @@ void pick_level() {
auto plan = l->records[1][gid];
if(plan) score_here += l->goals[gid].sa(plan);
}
cur_stars += score_here;
}
cur_stars += score_here;
if(l->stars_needed > total_stars) {
dialog::addSelItem(l->name, "stars needed: " + its(l->stars_needed), l->hotkey);