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 ab871b0 commit 4e49895Copy full SHA for 4e49895
pkg/demoinfocs/common/player.go
@@ -33,7 +33,7 @@ type Player struct {
33
}
34
35
func (p *Player) PlayerPawnEntity() st.Entity {
36
- if p.Entity == nil {
+ if p == nil || p.Entity == nil {
37
return nil
38
39
0 commit comments