don't pass unexistant variable to train_step_b (fixes #46)
This commit is contained in:
parent
38fecddff9
commit
e97287614c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue