Skip to content

Commit

Permalink
fix csgo AmmoReserve
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-wa committed Jan 24, 2025
1 parent 16db346 commit ca0ea7f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/demoinfocs/common/equipment.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,6 @@ func (e *Equipment) AmmoReserve() int {
// if the property doesn't exist we return 0 by default
val, _ := e.Entity.PropertyValue("m_iPrimaryReserveAmmoCount")

if val.Any == nil {
return 0
}

return val.IntVal
}

Expand Down

0 comments on commit ca0ea7f

Please sign in to comment.