diff options
author | orwell96 <mono96.mml@gmail.com> | 2017-02-20 11:14:37 +0100 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2017-02-20 11:14:37 +0100 |
commit | e4e76322ba74e1ffb465ca5bbfc420d8857aea01 (patch) | |
tree | a080fcb4b979142f988db7b309dff62131114d7b /advtrains/advtrains_luaautomation/passive.lua | |
parent | e97287614cbaf3aa585eae2a92e723f7467bdcc8 (diff) | |
download | advtrains-e4e76322ba74e1ffb465ca5bbfc420d8857aea01.tar.gz advtrains-e4e76322ba74e1ffb465ca5bbfc420d8857aea01.tar.bz2 advtrains-e4e76322ba74e1ffb465ca5bbfc420d8857aea01.zip |
Fix crash when ATC rail exists but no command is saved.
Crash was caused by a concatenation for a debug message. atprint can handle nil if passed as separate parameter
Setting the train's atc command to nil just means that there is no command.
Diffstat (limited to 'advtrains/advtrains_luaautomation/passive.lua')
0 files changed, 0 insertions, 0 deletions