diff options
author | orwell96 <orwell@bleipb.de> | 2019-01-23 15:35:58 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2019-01-23 15:37:18 +0100 |
commit | 1c3ea960415fcbd63c5f1b2cd8a5b25f79d2879f (patch) | |
tree | 2dffb9f8ad35c7eac66752a405f1796a23eba2fe /advtrains/path.lua | |
parent | f6f922c90cfc2c5795110a5b2c0bdbee927a67ed (diff) | |
download | advtrains-1c3ea960415fcbd63c5f1b2cd8a5b25f79d2879f.tar.gz advtrains-1c3ea960415fcbd63c5f1b2cd8a5b25f79d2879f.tar.bz2 advtrains-1c3ea960415fcbd63c5f1b2cd8a5b25f79d2879f.zip |
Possible fix for braking problems + debug outputs
Diffstat (limited to 'advtrains/path.lua')
-rw-r--r-- | advtrains/path.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/path.lua b/advtrains/path.lua index 64e0d1c..825e59b 100644 --- a/advtrains/path.lua +++ b/advtrains/path.lua @@ -130,7 +130,7 @@ end -- Prints a path using the passed print function -- This function should be 'atprint', 'atlog', 'atwarn' or 'atdebug', because it needs to use print_concat_table function advtrains.path_print(train, printf) - printf("path_print: tid =",train.train_id," index =",train.index," end_index =",train.end_index," vel =",train.velocity) + printf("path_print: tid =",train.id," index =",train.index," end_index =",train.end_index," vel =",train.velocity) if not train.path then printf("path_print: Path is invalidated/inexistant.") return |