File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -289,18 +289,18 @@ func (e *Engine) Continue() {
289
289
substitutionIntend := e .State .BotSubstitutionIntend ()
290
290
if substitutionIntend != TeamUnknown {
291
291
if substitutionIntend == TeamBoth {
292
- teamProto := TeamYellow .toProto ()
292
+ yellowTeam := TeamYellow .toProto ()
293
293
event := GameEvent {
294
294
Type : GameEventBotSubstitution ,
295
295
Details : GameEventDetails {
296
- BotSubstitution : & refproto.GameEvent_BotSubstitution {ByTeam : & teamProto }}}
296
+ BotSubstitution : & refproto.GameEvent_BotSubstitution {ByTeam : & yellowTeam }}}
297
297
e .AddGameEvent (& event )
298
298
299
- teamProto = TeamBlue .toProto ()
299
+ blueTeam : = TeamBlue .toProto ()
300
300
event = GameEvent {
301
301
Type : GameEventBotSubstitution ,
302
302
Details : GameEventDetails {
303
- BotSubstitution : & refproto.GameEvent_BotSubstitution {ByTeam : & teamProto }}}
303
+ BotSubstitution : & refproto.GameEvent_BotSubstitution {ByTeam : & blueTeam }}}
304
304
e .AddGameEvent (& event )
305
305
} else {
306
306
teamProto := substitutionIntend .toProto ()
You can’t perform that action at this time.
0 commit comments