diff options
Diffstat (limited to 'advtrains')
-rw-r--r-- | advtrains/trackplacer.lua | 2 | ||||
-rw-r--r-- | advtrains/tracks.lua | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/advtrains/trackplacer.lua b/advtrains/trackplacer.lua index 9d63199..71eb79c 100644 --- a/advtrains/trackplacer.lua +++ b/advtrains/trackplacer.lua @@ -49,7 +49,7 @@ function tp.register_candidate(tpg, name, ndef, as_single, as_double) for i=0,3 do if as_double then g.double[rotate(c1,i*4).."_"..rotate(c2,i*4)] = {name=name, param2=i} - if not is_symmmetrical then + if not is_symmetrical then g.double[rotate(c2,i*4).."_"..rotate(c1,i*4)] = {name=name, param2=i} -- if the track is unsymmetric (e.g. a curve), we may require the "wrong" orientation to fill a gap. end diff --git a/advtrains/tracks.lua b/advtrains/tracks.lua index dc2d909..46ceaf8 100644 --- a/advtrains/tracks.lua +++ b/advtrains/tracks.lua @@ -213,7 +213,6 @@ function advtrains.register_node_4rot(ori_name, ori_ndef, definition_mangling_fu end
-- register node
- atdebug("Registering: ",name, ndef)
minetest.register_node(":"..name, ndef)
-- if this has the track_place_group set, register as a candidate for the track_place_group
|