Skip to content

Commit

Permalink
Merge pull request #515 from markus-wa/bot-connected
Browse files Browse the repository at this point in the history
fix: update Connected flag on bots disconnection
  • Loading branch information
markus-wa authored Feb 22, 2024
2 parents 4b53a61 + ce407c7 commit 205b0bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/demoinfocs/game_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,8 @@ func (geh gameEventHandler) playerDisconnect(data map[string]*msg.CSVCMsg_GameEv
geh.dispatch(events.PlayerDisconnected{
Player: pl,
})

pl.IsConnected = false
}
return
}
Expand Down

0 comments on commit 205b0bb

Please sign in to comment.