Permalink
Browse files

fix max_player selection of map

  • Loading branch information...
1 parent 372fcf4 commit 4237971f22767ef7f439d297e4e6ad7c458415dc @McLeopold McLeopold committed Feb 13, 2012
Showing with 3 additions and 0 deletions.
  1. +1 −0 sql/2_generate_matchup.sql
  2. +2 −0 sql/opponent.sql
View
1 sql/2_generate_matchup.sql
@@ -100,6 +100,7 @@ if @min_players <= @max_players then
select players, count(*) as map_count
from map
where priority > 0
+ and players <= @max_players
group by players
) p
left outer join (
View
2 sql/opponent.sql
@@ -108,6 +108,7 @@ if @min_players <= @max_players then
select players, count(*) as map_count
from map
where priority > 0
+ and players <= @max_players
group by players
) p
left outer join (
@@ -136,6 +137,7 @@ if @min_players <= @max_players then
select players, count(*) as map_count
from map
where priority > 0
+ and players <= @max_players
group by players
) p
left outer join (

0 comments on commit 4237971

Please sign in to comment.