Skip to content

Commit a1762cc

Browse files
committed
[bugfix] Add missing default values to config
1 parent fb89c14 commit a1762cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/app/controller/config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ func DefaultConfig() (c Config) {
9999
c.Network.PublishAddress = "224.5.23.1:10003"
100100
c.Network.VisionAddress = "224.5.23.2:10006"
101101
c.Game.YellowCardDuration = 2 * time.Minute
102+
c.Game.TeamChoiceTimeout = 200 * time.Millisecond
102103
c.Game.MultipleCardStep = 3
103104
c.Game.MultipleFoulStep = 3
104105
c.Game.MultiplePlacementFailures = 5
@@ -120,7 +121,7 @@ func DefaultConfig() (c Config) {
120121
c.Server.AutoRef.Address = ":10007"
121122
c.Server.AutoRef.TrustedKeysDir = "config/trusted_keys/auto_ref"
122123
c.Server.Team.Address = ":10008"
123-
c.Server.AutoRef.TrustedKeysDir = "config/trusted_keys/team"
124+
c.Server.Team.TrustedKeysDir = "config/trusted_keys/team"
124125

125126
c.Game.DefaultGeometry = map[Division]*ConfigGeometry{}
126127
c.Game.DefaultGeometry[DivA] = new(ConfigGeometry)

0 commit comments

Comments
 (0)