diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-02-22 11:03:53 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-02-22 11:03:53 +0100 |
commit | 8ca7325d7ce7b0ce141cea7c607e586654343f86 (patch) | |
tree | e207cec22ea50d1362b97b8ba964392d2d9e8bcd /advtrains/tracks.lua | |
parent | 81d637dc76317df249a4d290006975141ab1a605 (diff) | |
parent | 481f6218a8b377a0826b7e080046b5a890702e12 (diff) | |
download | advtrains-8ca7325d7ce7b0ce141cea7c607e586654343f86.tar.gz advtrains-8ca7325d7ce7b0ce141cea7c607e586654343f86.tar.bz2 advtrains-8ca7325d7ce7b0ce141cea7c607e586654343f86.zip |
Merge https://github.com/orwell96/advtrains into log
Diffstat (limited to 'advtrains/tracks.lua')
-rw-r--r-- | advtrains/tracks.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains/tracks.lua b/advtrains/tracks.lua index 74122f2..4b2b17c 100644 --- a/advtrains/tracks.lua +++ b/advtrains/tracks.lua @@ -310,8 +310,8 @@ function advtrains.register_tracks(tracktype, def, preset) end
ndef.on_rightclick = function(pos, node, player)
if minetest.check_player_privs(player:get_player_name(), {train_operator=true}) then
- switchfunc(pos, node)
- advtrains.log("Switch", player:get_player_name(), pos)
+ switchfunc(pos, node)
+ advtrains.log("Switch", player:get_player_name(), pos)
end
end
if var.switchmc then
|