1
0
Fork 0
forked from OpenNeo/impress

Edge case: say "0 NC" for cost of no potions in Item Getting Guide

This commit is contained in:
Emi Matchu 2024-06-16 12:26:55 -07:00
parent cd28c26ae7
commit 77f01a6cb9

View file

@ -234,6 +234,7 @@ module ItemsHelper
num_items = 0
end
summaries << "0 NC" if summaries.empty?
summary = summaries.join(", ")
{nc_total:, summary:}