aboutsummaryrefslogtreecommitdiff
path: root/advtrains/tracks.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2020-12-27 18:04:42 +0100
committerorwell96 <orwell@bleipb.de>2021-02-10 16:39:45 +0100
commit080b8fb27342827965bab2567dde14e57433b55e (patch)
treec66ee6fb80a191b09ca9ba4a658c2d5a0b3f533b /advtrains/tracks.lua
parent9a775eff5b7a49c322119feb4c8248791edab501 (diff)
downloadadvtrains-080b8fb27342827965bab2567dde14e57433b55e.tar.gz
advtrains-080b8fb27342827965bab2567dde14e57433b55e.tar.bz2
advtrains-080b8fb27342827965bab2567dde14e57433b55e.zip
Add IGNORE_WORLD mode to test using only the advtrains save data
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 7037244..ba59720 100644
--- a/advtrains/tracks.lua
+++ b/advtrains/tracks.lua
@@ -469,7 +469,7 @@ function advtrains.register_tracks(tracktype, def, preset)
tiles = {def.shared_texture or (def.texture_prefix.."_"..img_suffix..".png"), def.second_texture},
groups = {
- attached_node=1,
+ attached_node = advtrains.IGNORE_WORLD and 0 or 1,
advtrains_track=1,
["advtrains_track_"..tracktype]=1,
save_in_at_nodedb=1,