mod/settings/lib/card/setting.rb in card-1.20.3 vs mod/settings/lib/card/setting.rb in card-1.20.4

- old
+ new

@@ -34,10 +34,10 @@ def self.user_specific? codename @@user_specific.include? codename end def to_type_id type - type.is_a?(Fixnum) ? type : Card::Codename[type] + type.is_a?(Integer) ? type : Card::Codename[type] end # usage: # setting_opts group: :permission | :event | ... # position: <Fixnum> (starting at 1, default: add to end)