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.
2 parents b735de4 + 929dfb0 commit 305b5c1Copy full SHA for 305b5c1
pkg/demoinfocs/datatables.go
@@ -679,10 +679,12 @@ func (p *parser) bindGrenadeProjectiles(entity st.Entity) {
679
680
p.gameEventHandler.addThrownGrenade(proj.Thrower, proj.WeaponInstance)
681
682
- p.gameState.flyingFlashbangs = append(p.gameState.flyingFlashbangs, &FlyingFlashbang{
683
- projectile: proj,
684
- flashedEntityIDs: []int{},
685
- })
+ if proj.WeaponInstance.Type == common.EqFlash {
+ p.gameState.flyingFlashbangs = append(p.gameState.flyingFlashbangs, &FlyingFlashbang{
+ projectile: proj,
+ flashedEntityIDs: []int{},
686
+ })
687
+ }
688
689
proj.Trajectory = append(proj.Trajectory, common.TrajectoryEntry{
690
Tick: p.gameState.ingameTick,
0 commit comments