Try to get a corpse for a player that died. In the latest experimental version [0.18.18] I've tried using the on_post_entity_died event to get the corpses table, but the corpses table is nil.
When handling the on_post_entity_died event, the corpses table is not populated with a character-corpse for any character prototype.
The character-corpse does actually exist on the surface at/near the reported position.
And all other entity prototypes seem to be working (i.e unit, tree) and put an entry in the corpses table with their respective corpses.
Happens consistently and confirmed by another person on the Factorio Discord channel.
on_post_entity_died.corpses missing character-corpse [0.18.18]
-
- Inserter
- Posts: 24
- Joined: Tue Jun 12, 2018 5:07 am
- Contact:
Re: on_post_entity_died.corpses missing character-corpse [0.18.18]
Ok, I changed it so it's included for the next release.
If you want to get ahold of me I'm almost always on Discord.