https://mods.factorio.com/mod/Factoriss ... 000d283949
If you run surface.clone_entities{entities={e1, e2, e3}, ...}, and the clone events are in order e1, e2, e3, but the on_entity_cloned event of e2 deletes e1 and e3, then clones of e1, e2, e3 will all be created, but there will be no on_entity_cloned event for e3.
[0.17.64] Bug with entity cloning order and on_entity_cloned event not being called
Re: [0.17.64] Bug with entity cloning order and on_entity_cloned event not being called
Thanks for the report however that's working exactly as it's supposed to. If you delete the source or destination entities then it won't fire the event because the event is meaningless without both the source and destination.
If you want to get ahold of me I'm almost always on Discord.