Skip to content

Commit

Permalink
Merge pull request #439 from markus-wa/fix-nade-counts
Browse files Browse the repository at this point in the history
fix nade counts for CS2
  • Loading branch information
markus-wa authored Oct 13, 2023
2 parents bb47007 + 44bcacf commit 4d9f95a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/demoinfocs/common/equipment.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,13 +405,6 @@ func (e *Equipment) AmmoReserve() int {
return 0
}

if e.Class() == EqClassGrenade {
s2Prop := e.Entity.Property("m_pReserveAmmo.0001")
if s2Prop != nil {
return s2Prop.Value().Int()
}
}

s2Prop := e.Entity.Property("m_pReserveAmmo.0000")
if s2Prop != nil {
return s2Prop.Value().Int()
Expand Down

0 comments on commit 4d9f95a

Please sign in to comment.