fixed football music

This commit is contained in:
Eric 2022-09-22 13:40:31 -07:00
parent 3197caaff4
commit dfee54e76d
No known key found for this signature in database
GPG Key ID: 89C93F0F8D6D5A98
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
### 1.7.9 (build 20877, api 7, 2022-09-21)
- Cleaned up the efro.message system to isolate response types that are used purely internally (via a new SysResponse type).
- Fixed an issue where Co-op football would play no music.
### 1.7.8 (build 20871, api 7, 2022-09-21)
- Fixed tournament scores submits which were broken in 1.7.7 (oops).

View File

@ -335,6 +335,8 @@ class FootballCoopGame(ba.CoopGameActivity[Player, Team]):
scoreconfig = ba.ScoreConfig(scoretype=ba.ScoreType.MILLISECONDS,
version='B')
default_music = ba.MusicType.FOOTBALL
# FIXME: Need to update co-op games to use getscoreconfig.
def get_score_type(self) -> str:
return 'time'