mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 21:56:50 -04:00
Decouple lower third from audience display mode so that it can be shown on top of other elements.
This commit is contained in:
@@ -68,6 +68,7 @@ type Arena struct {
|
||||
AllianceStationDisplayMode string
|
||||
AllianceSelectionAlliances [][]model.AllianceTeam
|
||||
LowerThird *model.LowerThird
|
||||
ShowLowerThird bool
|
||||
MuteMatchSounds bool
|
||||
matchAborted bool
|
||||
soundsPlayed map[*game.MatchSound]struct{}
|
||||
|
||||
@@ -118,7 +118,10 @@ func (arena *Arena) generateDisplayConfigurationMessage() interface{} {
|
||||
}
|
||||
|
||||
func (arena *Arena) generateLowerThirdMessage() interface{} {
|
||||
return arena.LowerThird
|
||||
return &struct {
|
||||
LowerThird *model.LowerThird
|
||||
ShowLowerThird bool
|
||||
}{arena.LowerThird, arena.ShowLowerThird}
|
||||
}
|
||||
|
||||
func (arena *Arena) generateMatchLoadMessage() interface{} {
|
||||
|
||||
Reference in New Issue
Block a user