Ah interesting, I didn't know until now that you were applying speed stickers at runtime! I see that you provide a handy remote interface so I could likely fix this in Spidertron Enhancements. However, you should really be listening to the script_raised_built
event and adding your sticker then as well.
My recommendation is to add the line [defines.events.script_raised_built] = on_built_entity,
in lib.events
, and change the line local entity = event.created_entity
to local entity = event.created_entity or event.entity
(because script_raised_built
provides entity
instead of created_entity
).
This way, you'll be picking up aircraft from any mod that creates one with surface.create_entity{..., raise_built = true}
.
(Fixed version here: https://drive.google.com/file/d/1XdaYIN82rCFrY-_h07pFw2k_JgfFqgxv/view)