aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2017-01-04 21:49:16 +0100
committerorwell96 <mono96.mml@gmail.com>2017-01-04 21:49:16 +0100
commitc0957b8a31df8484436e204b14b5d6d0d08a2eaa (patch)
tree8dd5c69de94db45603049246d9719753d2f7f23e /advtrains
parentbf68c6f0d5d20cfb6daeff0709e2a7ffb12116d9 (diff)
downloadadvtrains-c0957b8a31df8484436e204b14b5d6d0d08a2eaa.tar.gz
advtrains-c0957b8a31df8484436e204b14b5d6d0d08a2eaa.tar.bz2
advtrains-c0957b8a31df8484436e204b14b5d6d0d08a2eaa.zip
also print ATC reverse command warning
and move atc_command.txt at a better place
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/advtrains/atc.lua2
-rw-r--r--advtrains/atc_command.txt (renamed from advtrains/advtrains/atc_command.txt)0
2 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/advtrains/atc.lua b/advtrains/advtrains/atc.lua
index 1b7ba5a..2bc07be 100644
--- a/advtrains/advtrains/atc.lua
+++ b/advtrains/advtrains/atc.lua
@@ -190,7 +190,7 @@ local matchptn={
train.movedir=train.movedir*-1
train.atc_arrow = not train.atc_arrow
else
- atprint("ATC Reverse command warning: didn't reverse train!")
+ minetest.chat_send_all("ATC Reverse command warning: didn't reverse train!")
end
return 1
end,
diff --git a/advtrains/advtrains/atc_command.txt b/advtrains/atc_command.txt
index fa846e3..fa846e3 100644
--- a/advtrains/advtrains/atc_command.txt
+++ b/advtrains/atc_command.txt