Skip to content

Commit

Permalink
Require maps be tagged as team to appear on teamgame map lists (#230)
Browse files Browse the repository at this point in the history
This removes Crimson Bay and Odderon Strandflats (two recent
asymmetrical PvE maps) from the nextmap teamgame maplists.
  • Loading branch information
RebelNode authored Dec 7, 2023
1 parent 211c69a commit bb384de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/py/gen_nextmap_maplists.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def get_data(input_file):
continue
max_players_per_startbox = startboxes_info["maxPlayersPerStartbox"]

# add non-ffa maps to teamsize_dict
if team_count*max_players_per_startbox <= 16:
# add teamgame maps to teamsize_dict
if team_count*max_players_per_startbox <= 16 and is_team:
for x in range(2,max_players_per_startbox+1):
if x >= math.floor(max_players_per_startbox/2):
teamsize_dict['v'.join([str(x)] * team_count)].append(mapname)
Expand Down

0 comments on commit bb384de

Please sign in to comment.