diff options
author | orwell96 <mono96.mml@gmail.com> | 2017-02-04 21:07:18 +0100 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2017-02-04 21:09:20 +0100 |
commit | d4975a7003a1a9065b747133c9d1ba2913b716a9 (patch) | |
tree | 48f78469bd0f45f8b9679ec1ace0341c225880d1 /advtrains/advtrains_luaautomation | |
parent | 61e48fff280075ec52bfaa31644c22b08814d680 (diff) | |
download | advtrains-d4975a7003a1a9065b747133c9d1ba2913b716a9.tar.gz advtrains-d4975a7003a1a9065b747133c9d1ba2913b716a9.tar.bz2 advtrains-d4975a7003a1a9065b747133c9d1ba2913b716a9.zip |
Even more bugfixes
- add translations of all index values to invert_train
- fix on_leave_node callbacks not being called when train reverses
- fix callbacks on train creation and destruction
- Fix warning when saving ATC rail info
Diffstat (limited to 'advtrains/advtrains_luaautomation')
-rw-r--r-- | advtrains/advtrains_luaautomation/atc_rail.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/advtrains_luaautomation/atc_rail.lua b/advtrains/advtrains_luaautomation/atc_rail.lua index c2c8d6f..09c560f 100644 --- a/advtrains/advtrains_luaautomation/atc_rail.lua +++ b/advtrains/advtrains_luaautomation/atc_rail.lua @@ -42,8 +42,8 @@ function r.fire_event(pos, evtdata) if atc_arrow==nil then atwarn("LuaAutomation ATC rail at", pos, ": Rail not on train's path! Can't determine arrow direction. Assuming +!") atc_arrow=true - tvel=train.velocity end + tvel=train.velocity end local customfct={ atc_send = function(cmd) |