diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/activities/_results.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/activities/_results.html.erb b/app/views/activities/_results.html.erb index 49de2d5..b7728fb 100644 --- a/app/views/activities/_results.html.erb +++ b/app/views/activities/_results.html.erb @@ -4,7 +4,7 @@ <% when "item" %> <p>You got <%= result[:quantity] %> <%= result[:item].name %> <% if result[:xp]&.any? %> - (<%= result[:xp].map { |award| "#{award[:amount]} xp #{award[:skill].name}" }.join(", ") %>) + (<%= result[:xp].map { |award| "#{award[:amount] * result[:quantity]} xp #{award[:skill].name}" }.join(", ") %>) <% end %> </p> <% when "hearth_amenity" %> |