incompatible with personal teleporter mod and others
Posted: Sat Apr 07, 2018 5:05 pm
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
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