File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -221,15 +221,16 @@ func (e *Engine) Continue() {
221
221
Type : GameEventBotSubstitution ,
222
222
Details : GameEventDetails {
223
223
BotSubstitution : & refproto.GameEvent_BotSubstitution {ByTeam : & teamProto }}})
224
+ e .LogHint ("botSubstitution" , "game halted for bot substitution" , substitutionIntend )
224
225
e .SendCommand (CommandHalt , "" )
225
226
} else if e .State .NextCommand != CommandUnknown {
226
227
e .SendCommand (e .State .NextCommand , e .State .NextCommandFor )
227
228
} else {
228
- log .Println ("No next command available to continue with. Halting game." )
229
229
if e .State .Command != CommandStop {
230
230
// halt the game, if not in STOP.
231
231
// Rational: After ball placement and no next command, halt the game to indicate that manual action is required
232
232
// If in STOP, that was most likely triggered manually already and a suddenly halted game might be confusing and not intended
233
+ e .LogHint ("missingFollowUp" , "No next command available" , TeamUnknown )
233
234
e .SendCommand (CommandHalt , "" )
234
235
}
235
236
}
You can’t perform that action at this time.
0 commit comments