[raiguard][2.0.23] on_entity_color_changed event not fired for locomotives sometimes

CaptainHook
Inserter
Inserter
Posts: 23
Joined: Sat Mar 04, 2017 11:10 am
Contact:

[raiguard][2.0.23] on_entity_color_changed event not fired for locomotives sometimes

Post by CaptainHook »

The event on_entity_color_changed (https://lua-api.factorio.com/latest/eve ... or_changed) is not fired when a locomotive is recolored by the factorio engine by the destination stop - when the copy_color_from_train_stop is set on the locomotive and applied (https://lua-api.factorio.com/latest/cla ... train_stop).
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 707
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [raiguard][2.0.23] on_entity_color_changed event not fired for locomotives sometimes

Post by raiguard »

This is a known issue and is hard to fix because mods can change anything in events. I have some ideas, but it will take a while.
Don't forget, you're here forever.
Post Reply

Return to “Assigned”