Allow World Weapons in Extra slots (#130)
This commit is contained in:
parent
39b353d9bd
commit
5cd357be3f
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class GridWeapon < ApplicationRecord
|
|||
|
||||
# Validates whether the weapon can be added to the desired position
|
||||
def compatible_with_position
|
||||
return unless [9, 10, 11].include?(position.to_i) && ![11, 16, 17, 28, 29].include?(weapon.series)
|
||||
return unless [9, 10, 11].include?(position.to_i) && ![11, 16, 17, 28, 29, 32].include?(weapon.series)
|
||||
|
||||
errors.add(:series, 'must be compatible with position')
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue