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 @@ -290,18 +290,18 @@ func (e *Engine) Continue() {
290290 if substitutionIntend != TeamUnknown {
291291 if substitutionIntend == TeamBoth {
292292 yellowTeam := TeamYellow .toProto ()
293- event := GameEvent {
293+ yellowEvent := GameEvent {
294294 Type : GameEventBotSubstitution ,
295295 Details : GameEventDetails {
296296 BotSubstitution : & refproto.GameEvent_BotSubstitution {ByTeam : & yellowTeam }}}
297- e .AddGameEvent (& event )
297+ e .AddGameEvent (& yellowEvent )
298298
299299 blueTeam := TeamBlue .toProto ()
300- event = GameEvent {
300+ blueEvent : = GameEvent {
301301 Type : GameEventBotSubstitution ,
302302 Details : GameEventDetails {
303303 BotSubstitution : & refproto.GameEvent_BotSubstitution {ByTeam : & blueTeam }}}
304- e .AddGameEvent (& event )
304+ e .AddGameEvent (& blueEvent )
305305 } else {
306306 teamProto := substitutionIntend .toProto ()
307307 event := GameEvent {
You can’t perform that action at this time.
0 commit comments