forked from OpenNeo/impress
oops, dont include duplicate items in wardrobe after translating
This commit is contained in:
parent
f484fc5c21
commit
f59fa92aa1
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class Pet < ActiveRecord::Base
|
|||
end
|
||||
|
||||
# Apply translations, and figure out what items are currently being worn
|
||||
current_items = []
|
||||
current_items = Set.new
|
||||
registries.each do |locale, registry|
|
||||
I18n.with_locale(locale) do
|
||||
registry.each do |item_id, item_info|
|
||||
|
|
Loading…
Reference in a new issue