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.
2 parents 204351a + a31cefb commit 7be07fdCopy full SHA for 7be07fd
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