Skip to content

[Bug] Suicides are not correctly counted in PlayerProgress #89

@nikooo777

Description

@nikooo777

Describe the bug
PlayerProgress holds all the stats for a player. It's currently available on join and on disconnect.
suicides is part of the fields available, however it doesn't seem to be updated when blowing yourself up or falling/bleeding to death.

To Reproduce
Steps to reproduce the behavior:

  1. Join the server, log the playerprogress (suicides)
  2. Kill yourself (grenade or fall damage)
  3. disconnect from the game and log playerprogress (suicides)
  4. notice how deaths increases but suicides don't

Expected behavior
when the killer and the victim are the same, it should always count as suicide

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions