You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Get in any vehicle, such as a spidertron.
Kill biters.
Counter does not increase
Expected behavior
The counter should track all player kills.
The text was updated successfully, but these errors were encountered:
Auto kills will need to be ignored, I am unaware of any simple way to relate these kills back to a player beyond keeping an index of who and when remotes were used. As such I believe updating the filter to include vehicles with players in them will be a sufficient fix.
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:
Expected behavior
The counter should track all player kills.
The text was updated successfully, but these errors were encountered: