diff --git a/app/controllers/tables_controller.rb b/app/controllers/tables_controller.rb index e0f6a636..39e48bce 100644 --- a/app/controllers/tables_controller.rb +++ b/app/controllers/tables_controller.rb @@ -5,7 +5,7 @@ class TablesController < ApplicationController def play_now # First empty seat - @seat = Seat.where(user_soft_token: nil).first + @seat = Seat.where(user_soft_token: nil).select{|s| !s.player.try("is_bot?")}.first if @seat @seat.sit current_user else