Detect team modes by GAME_TYPE code and sync gametype at match start
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <[email protected]>
This commit is contained in:
@@ -57,6 +57,12 @@ TEAM_MAP = {
|
||||
3: 'SPECTATOR'
|
||||
}
|
||||
|
||||
# GAME_TYPE codes from MATCH_STARTED that are team-based; matching on the code
|
||||
# is immune to customized factory titles (g_factoryTitle)
|
||||
TEAM_GAME_TYPE_CODES = {
|
||||
'TDM', 'CA', 'CTF', '1FLAG', 'HARVESTER', 'FT', 'DOM', 'RR'
|
||||
}
|
||||
|
||||
TEAM_COLORS = {
|
||||
'RED': '^1(RED)^7',
|
||||
'BLUE': '^4(BLUE)^7',
|
||||
|
||||
Reference in New Issue
Block a user