From 01ca88d3c32a5188730a2666b10eea531e0c5a0b Mon Sep 17 00:00:00 2001 From: Mebibyte Date: Sat, 23 Mar 2019 13:29:55 -0700 Subject: [PATCH] - Always add new Games to Setup Scanning - Increase Setup/Teardown Scanning lists to 200 Games --- app/models/game.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/models/game.rb b/app/models/game.rb index 913d888..48ffcc8 100644 --- a/app/models/game.rb +++ b/app/models/game.rb @@ -15,7 +15,7 @@ class Game < ActiveRecord::Base validates_format_of :barcode, with: Utilities.BARCODE_FORMAT validates :title, presence: true - ST_LIMIT_COUNT = 150 + ST_LIMIT_COUNT = 200 STATUS = { :active => 0, :culled => 1, :stored => 2 } @@ -196,9 +196,7 @@ def self.generate(params) end if !game.errors || game.errors.messages.blank? - if !Event.current.setup_complete? - Setup.where(event: Event.current).add_new_game(game) - end + Setup.where(event: Event.current).add_new_game(game) end game