aboutsummaryrefslogtreecommitdiff
path: root/advtrains/tracks.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2019-10-21 16:36:35 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2019-10-21 16:36:35 +0200
commit7977776b4a8067ea513d95ab2b0d699456596209 (patch)
tree221564975cee9195d206d023cb845217ec938880 /advtrains/tracks.lua
parent2d8c13885aa33a0f5eb43b16a1131f187fad75e7 (diff)
downloadadvtrains-7977776b4a8067ea513d95ab2b0d699456596209.tar.gz
advtrains-7977776b4a8067ea513d95ab2b0d699456596209.tar.bz2
advtrains-7977776b4a8067ea513d95ab2b0d699456596209.zip
Changes for linetrack
Allows defining a suitable substrate for tracks, and liquid pointable tracks
Diffstat (limited to 'advtrains/tracks.lua')
-rw-r--r--advtrains/tracks.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/tracks.lua b/advtrains/tracks.lua
index 1c0b36b..4475cb0 100644
--- a/advtrains/tracks.lua
+++ b/advtrains/tracks.lua
@@ -244,7 +244,7 @@ Depending on the number of connections:
function advtrains.register_tracks(tracktype, def, preset)
advtrains.trackplacer.register_tracktype(def.nodename_prefix, preset.tpdefault)
if preset.regtp then
- advtrains.trackplacer.register_track_placer(def.nodename_prefix, def.texture_prefix, def.description)
+ advtrains.trackplacer.register_track_placer(def.nodename_prefix, def.texture_prefix, def.description, def)
end
if preset.regsp then
advtrains.slope.register_placer(def, preset)