Skip to content

Kills done while in a vehicle arn't tracked #219

@Cooldude2606

Description

@Cooldude2606

Factorio version
Version number: 1.1.37

Scenario version
Version number: 6.2.0

Bug description
The datastore statistics for player kills are not increased when the player is in a vehicle. The issue is because the filter during on_entity_died is too restrictive. There is a good chance that this issue also effects the on_entity_damaged event as this uses a similar filter.

Reproduction method
Steps to reproduce the behavior:

  1. Get in any vehicle, such as a spidertron.
  2. Kill biters.
  3. Counter does not increase

Expected behavior
The counter should track all player kills.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReporting/fixing a bug, error, or desync

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions