We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1909f8 commit a31cefbCopy full SHA for a31cefb
pkg/demoinfocs/datatables.go
@@ -432,6 +432,8 @@ func (p *parser) bindNewPlayerController(controllerEntity st.Entity) {
432
controllerEntity.OnDestroy(func() {
433
pl.IsConnected = false
434
delete(p.gameState.playersByEntityID, controllerEntity.ID())
435
+ delete(p.gameState.playerControllerEntities, controllerEntity.ID())
436
+ delete(p.gameState.playersByUserID, pl.UserID)
437
})
438
}
439
0 commit comments