We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcb5e3a commit 5457ee6Copy full SHA for 5457ee6
internal/app/engine/config.go
@@ -62,6 +62,11 @@ func DefaultConfig() (x Config) {
62
for _, event := range state.GameEventsForBehaviorConfig() {
63
x.GameEventBehavior[event.String()] = Config_BEHAVIOR_ACCEPT_MAJORITY
64
}
65
+ // Set common defaults that are usually set at a competition
66
+ x.GameEventBehavior[state.GameEvent_POSSIBLE_GOAL.String()] = Config_BEHAVIOR_ACCEPT
67
+ x.GameEventBehavior[state.GameEvent_BALL_LEFT_FIELD_GOAL_LINE.String()] = Config_BEHAVIOR_ACCEPT
68
+ x.GameEventBehavior[state.GameEvent_BALL_LEFT_FIELD_TOUCH_LINE.String()] = Config_BEHAVIOR_ACCEPT
69
+
70
x.Teams = defaultTeams
71
x.AutoContinue = new(bool)
72
*x.AutoContinue = true
0 commit comments