don't pass unexistant variable to train_step_b (fixes #46)

This commit is contained in:
orwell96 2017-02-17 15:30:34 +01:00
parent 38fecddff9
commit e97287614c
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ minetest.register_globalstep(function(dtime_mt)
advtrains.train_step_a(k, v, dtime)
end
for k,v in pairs(advtrains.trains) do
advtrains.train_step_b(k, v, dtime, playersbypts)
advtrains.train_step_b(k, v, dtime)
end
atprintbm("trainsteps", t)