Page 1 of 1

[Rseding] [0.17.67] on_built_entity event not called when copy-pasting

Posted: Tue Sep 03, 2019 2:13 pm
by alexk
Hello,
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)

Re: [Rseding] [0.17.67] on_built_entity event not called when copy-pasting

Posted: Tue Sep 03, 2019 4:03 pm
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.17.

Re: [Rseding] [0.17.67] on_built_entity event not called when copy-pasting

Posted: Tue Sep 03, 2019 6:21 pm
by quyxkh
Is this resolved for all blueprinting? It's not just pasting, normal blueprints no longer fire o-b-e for the ghosts.

Re: [Rseding] [0.17.67] on_built_entity event not called when copy-pasting

Posted: Wed Sep 04, 2019 12:42 am
by Rseding91
All.