From 4d334ad9d9ffd62380593bca7f15d95dcf138ff8 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 25 Jun 2025 22:02:39 +0200 Subject: [PATCH] rogueviz:: nilrider:: fixed star counting --- rogueviz/nilrider/nilrider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/nilrider/nilrider.cpp b/rogueviz/nilrider/nilrider.cpp index 17411693..71695f61 100644 --- a/rogueviz/nilrider/nilrider.cpp +++ b/rogueviz/nilrider/nilrider.cpp @@ -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);