on_built_entity no longer called when copy-pasting blueprints/ghost buildings.
It works when just placing ghost buildings manually.
I just made a mod which is now partially broken.
Expected:
on_built_entity called on copy-paste (it used to in previous version)
Actual:
on_built_entity is not called on copy-paste
Steps to reproduce:
Code: Select all
script.on_event(defines.events.on_built_entity, function()
game.print("on_built_entity") -- wont be called on copy-paste
end)