aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-06-19 10:39:51 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-06-19 10:39:51 +0200
commit816d97e1a6c9b7823ce5bb955f9c62e8627cd098 (patch)
tree82d85057cee89bc836a7daecda479ee2689aade5
parentda0e7ac7567059a88f76069b55350d52056e60d6 (diff)
downloadadvtrains-816d97e1a6c9b7823ce5bb955f9c62e8627cd098.tar.gz
advtrains-816d97e1a6c9b7823ce5bb955f9c62e8627cd098.tar.bz2
advtrains-816d97e1a6c9b7823ce5bb955f9c62e8627cd098.zip
Make digtron able to build tracks.
-rw-r--r--advtrains/trackplacer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/trackplacer.lua b/advtrains/trackplacer.lua
index c61bbb4..2628daa 100644
--- a/advtrains/trackplacer.lua
+++ b/advtrains/trackplacer.lua
@@ -268,7 +268,7 @@ function tp.register_track_placer(nnprefix, imgprefix, dispname)
description = dispname,
inventory_image = imgprefix.."_placer.png",
wield_image = imgprefix.."_placer.png",
- groups={advtrains_trackplacer=1},
+ groups={advtrains_trackplacer=1, digtron_on_place=1},
on_place = function(itemstack, placer, pointed_thing)
return advtrains.pcall(function()
local name = placer:get_player_name()