on_post_entity_died.corpses missing character-corpse [0.18.18]
Posted: Thu Apr 16, 2020 7:12 am
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.
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.