Fix typo that caused crash

This commit is contained in:
orwell96 2017-01-25 12:26:43 +01:00
parent edc7f1ec5f
commit bd0a4a51b8
1 changed files with 1 additions and 1 deletions

View File

@ -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