diff --git a/advtrains_luaautomation/atc_rail.lua b/advtrains_luaautomation/atc_rail.lua index 0bb9871..ce9e0fa 100644 --- a/advtrains_luaautomation/atc_rail.lua +++ b/advtrains_luaautomation/atc_rail.lua @@ -74,7 +74,7 @@ function r.fire_event(pos, evtdata) if not train_id then return false end train.autocouple = nil end, - set_autcouple = function () + set_autocouple = function () if not train_id then return false end train.autocouple = true end,