forked from OpenNeo/impress
whoops, re-add check for explicitly_body_specific?
In bfd825d
, we refactored the "is item body-specific?" check. In the process, we dropped the check for the manual override flag, `explicitly_body_specific?`. Not sure if it was an accident or if I was just _so_ confident that it was gonna work :P In any case, re-add the check!
This commit is contained in:
parent
bd3b75c675
commit
80e74da84f
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ class Item < ActiveRecord::Base
|
|||
def body_specific?
|
||||
# If there are species support IDs (it's not empty), the item is
|
||||
# body-specific. If it's empty, it fits everyone the same.
|
||||
!species_support_ids.empty?
|
||||
explicitly_body_specific? || !species_support_ids.empty?
|
||||
end
|
||||
|
||||
def add_origin_registry_info(info, locale)
|
||||
|
|
Loading…
Reference in a new issue