diff options
author | orwell96 <mono96.mml@gmail.com> | 2017-01-25 12:26:43 +0100 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2017-01-25 12:26:43 +0100 |
commit | bd0a4a51b8b021bd2014e2918330c53ddb0c5796 (patch) | |
tree | b0c681eff9a91edefa29945db53a08b3c1acf17b /advtrains | |
parent | edc7f1ec5f1d045f23eb53f6db8c5ed1daf55abf (diff) | |
download | advtrains-bd0a4a51b8b021bd2014e2918330c53ddb0c5796.tar.gz advtrains-bd0a4a51b8b021bd2014e2918330c53ddb0c5796.tar.bz2 advtrains-bd0a4a51b8b021bd2014e2918330c53ddb0c5796.zip |
Fix typo that caused crash
Diffstat (limited to 'advtrains')
-rw-r--r-- | advtrains/advtrains/trainlogic.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/advtrains/trainlogic.lua b/advtrains/advtrains/trainlogic.lua index df7df14..d5658a0 100644 --- a/advtrains/advtrains/trainlogic.lua +++ b/advtrains/advtrains/trainlogic.lua @@ -333,7 +333,7 @@ function advtrains.pathpredict(id, train) if not train.last_pos then --no chance to recover atprint("train hasn't saved last-pos, removing train.") - advtrains.train[id]=nil + advtrains.trains[id]=nil return false end |