Skip to content

Commit e4a42d0

Browse files
authored
Merge branch 'master' into event-fallback-update
2 parents 5f97ebd + 4e49895 commit e4a42d0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ There is one caveat however: Beta features - which are marked as such via commen
201201
- [PureSkill.gg](https://pureskill.gg/) - An automated coach to help you get better at CS2
202202
- [cs2lens.com](https://www.cs2lens.com/) - Professional CS2 demo replayer and analysis tool
203203
- [awpy](https://github.com/pnxenopoulos/awpy) - A wrapper for the Golang parser in Python
204+
- [CS2VoiceData](https://github.com/DandrewsDev/CS2VoiceData) - Extract voice communications from demos
204205

205206
### CS:GO projects (may no longer work with CS2)
206207

pkg/demoinfocs/common/player.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ type Player struct {
3333
}
3434

3535
func (p *Player) PlayerPawnEntity() st.Entity {
36+
if p == nil || p.Entity == nil {
37+
return nil
38+
}
39+
3640
pawn, exists := p.Entity.PropertyValue("m_hPawn")
3741
if !exists {
3842
return nil

0 commit comments

Comments
 (0)