diff --git a/pkg/demoinfocs/datatables.go b/pkg/demoinfocs/datatables.go index df36ff86..386b9075 100644 --- a/pkg/demoinfocs/datatables.go +++ b/pkg/demoinfocs/datatables.go @@ -526,6 +526,7 @@ func (p *parser) bindNewPlayerControllerS2(controllerEntity st.Entity) { }) controllerEntity.OnDestroy(func() { + pl.IsConnected = false delete(p.gameState.playersByEntityID, controllerEntity.ID()) }) }