From 25b01cb1df594d0b80adf719ef1cb5dbe9c62ab5 Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 27 May 2021 17:27:30 -0400 Subject: Display activities in amenities even if requisite cost isn't met --- app/controllers/characters/hearth_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/characters/hearth_controller.rb b/app/controllers/characters/hearth_controller.rb index 644c2e5..d195571 100644 --- a/app/controllers/characters/hearth_controller.rb +++ b/app/controllers/characters/hearth_controller.rb @@ -9,7 +9,7 @@ class Characters::HearthController < ApplicationController } Activity.where("gid like ?", "craft_%").each do |activity| - next unless current_char.can_do_activity? activity + next unless current_char.can_do_activity?(activity, ignore_cost: true) activity.whatnot[:requirements]&.each do |requirement_data| if requirement_data[:type] == "hearth_amenity" case requirement_data[:gid] -- cgit v1.2.3