mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Allow setting a custom name for a test match.
This commit is contained in:
@@ -219,7 +219,7 @@ func (arena *Arena) LoadMatch(match *model.Match) error {
|
||||
|
||||
// Sets a new test match containing no teams as the current match.
|
||||
func (arena *Arena) LoadTestMatch() error {
|
||||
return arena.LoadMatch(&model.Match{Type: "test"})
|
||||
return arena.LoadMatch(&model.Match{Type: "test", DisplayName: "Test Match"})
|
||||
}
|
||||
|
||||
// Loads the first unplayed match of the current match type.
|
||||
|
||||
Reference in New Issue
Block a user