From e97287614cbaf3aa585eae2a92e723f7467bdcc8 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Fri, 17 Feb 2017 15:30:34 +0100 Subject: [PATCH] don't pass unexistant variable to train_step_b (fixes #46) --- advtrains/advtrains/trainlogic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advtrains/advtrains/trainlogic.lua b/advtrains/advtrains/trainlogic.lua index f0295d1..8543b26 100644 --- a/advtrains/advtrains/trainlogic.lua +++ b/advtrains/advtrains/trainlogic.lua @@ -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)