[Bugfix] Skull house checks showing as 0 rupees in tracker (#6822)

This commit is contained in:
Chris
2026-06-27 15:58:50 -04:00
committed by GitHub
parent 3ac67f14cc
commit 2ba368e7e7
3 changed files with 7 additions and 1 deletions
@@ -2073,7 +2073,7 @@ void DrawLocation(RandomizerCheck rc) {
} else if (revealItemName) {
txt = itemLoc->GetPlacedItem().GetName().GetForLanguage(gSaveContext.language);
}
if (IsVisibleInCheckTracker(rc) && status == RCSHOW_IDENTIFIED) {
if (itemLoc->CanBePurchased() && IsVisibleInCheckTracker(rc) && status == RCSHOW_IDENTIFIED) {
auto price = OTRGlobals::Instance->gRandoContext->GetItemLocation(rc)->GetPrice();
txt = !txt.empty() ? fmt::format("{} - {}", txt, price) : fmt::format("{}", price);
}