Page 1 of 1

incompatible with personal teleporter mod and others

Posted: Sat Apr 07, 2018 5:05 pm
by ownlyme
in control.lua, line 764, in the function script.on_event(defines.events.on_entity_renamed, you wrote:
if event.entity.type == "train-stop" then...
which causes issues with other mods, especially the "personal teleporter" mod.
for that mod, it would be enough to change the line to
if event.entity.type == "train-stop" and event.entity.name ~= "TP_marker" then

Re: incompatible with personal teleporter mod and others

Posted: Sat Apr 07, 2018 5:31 pm
by steinio

Code: Select all

if event.entity.type == "train-stop" and event.entity.name == "logistic-train-stop" then
would be more future oriented.

Re: incompatible with personal teleporter mod and others

Posted: Sat Apr 07, 2018 7:03 pm
by Optera
[sarcasm] Sure let me make a blacklist for all mods that don't bother to properly handle train stops or events. [/sarcasm] :roll:

I see no reason why any mod should be incompatible with LTN.