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() {
290
290
if substitutionIntend != TeamUnknown {
291
291
if substitutionIntend == TeamBoth {
292
292
yellowTeam := TeamYellow .toProto ()
293
- event := GameEvent {
293
+ yellowEvent := GameEvent {
294
294
Type : GameEventBotSubstitution ,
295
295
Details : GameEventDetails {
296
296
BotSubstitution : & refproto.GameEvent_BotSubstitution {ByTeam : & yellowTeam }}}
297
- e .AddGameEvent (& event )
297
+ e .AddGameEvent (& yellowEvent )
298
298
299
299
blueTeam := TeamBlue .toProto ()
300
- event = GameEvent {
300
+ blueEvent : = GameEvent {
301
301
Type : GameEventBotSubstitution ,
302
302
Details : GameEventDetails {
303
303
BotSubstitution : & refproto.GameEvent_BotSubstitution {ByTeam : & blueTeam }}}
304
- e .AddGameEvent (& event )
304
+ e .AddGameEvent (& blueEvent )
305
305
} else {
306
306
teamProto := substitutionIntend .toProto ()
307
307
event := GameEvent {
You can’t perform that action at this time.
0 commit comments