forked from OpenNeo/impress
Edge case: say "0 NC" for cost of no potions in Item Getting Guide
This commit is contained in:
parent
cd28c26ae7
commit
77f01a6cb9
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,7 @@ module ItemsHelper
|
||||||
num_items = 0
|
num_items = 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
summaries << "0 NC" if summaries.empty?
|
||||||
summary = summaries.join(", ")
|
summary = summaries.join(", ")
|
||||||
|
|
||||||
{nc_total:, summary:}
|
{nc_total:, summary:}
|
||||||
|
|
Loading…
Reference in a new issue