Skip to content

Commit

Permalink
fix nade counts for CS2
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-wa committed Oct 12, 2023
1 parent 905ddfc commit 39822b1
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 39822b1

Please sign in to comment.