aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2020-07-02 14:45:38 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2020-07-02 14:45:38 +0200
commit2a0c55099e61f885636b2a9735c7c8b6c2a0b45a (patch)
treed857f2c6d4f68f0e38fa1cd171f99c548cf45121 /advtrains_luaautomation
parenteb2e5f4cdf2820a5bdf1a4f516bd9dcc8a2f2ce3 (diff)
downloadadvtrains-2a0c55099e61f885636b2a9735c7c8b6c2a0b45a.tar.gz
advtrains-2a0c55099e61f885636b2a9735c7c8b6c2a0b45a.tar.bz2
advtrains-2a0c55099e61f885636b2a9735c7c8b6c2a0b45a.zip
fix typo in luaautomation
Diffstat (limited to 'advtrains_luaautomation')
-rw-r--r--advtrains_luaautomation/atc_rail.lua2
1 files changed, 1 insertions, 1 deletions
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,