aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2017-02-17 15:30:34 +0100
committerorwell96 <mono96.mml@gmail.com>2017-02-17 15:30:34 +0100
commite97287614cbaf3aa585eae2a92e723f7467bdcc8 (patch)
treea9b98a99da4ccd7c287ae6bd75c5143c7b880397
parent38fecddff964ab179e5f7fe00b18378b5229f05d (diff)
downloadadvtrains-e97287614cbaf3aa585eae2a92e723f7467bdcc8.tar.gz
advtrains-e97287614cbaf3aa585eae2a92e723f7467bdcc8.tar.bz2
advtrains-e97287614cbaf3aa585eae2a92e723f7467bdcc8.zip
don't pass unexistant variable to train_step_b (fixes #46)
-rw-r--r--advtrains/advtrains/trainlogic.lua2
1 files changed, 1 insertions, 1 deletions
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)