Page 1 of 1

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

Posted: Thu Nov 28, 2024 8:41 pm
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).

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

Posted: Tue Jan 07, 2025 8:34 pm
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.