summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOch Noe <och_noe@forksworld.de>2019-06-03 04:09:20 +0200
committerOch Noe <och_noe@forksworld.de>2019-06-03 04:09:20 +0200
commit0b24731a5b7b871e425fd3fe9bd5668267dfeaa3 (patch)
tree5c77f4a108a36ab9fc221d689bddf755c8aede92
parent5d55dc8f63809473f893ee4f8f75bffe9059181c (diff)
downloadadvtrains_platform-0b24731a5b7b871e425fd3fe9bd5668267dfeaa3.zip
advtrains_platform-0b24731a5b7b871e425fd3fe9bd5668267dfeaa3.tar.gz
advtrains_platform-0b24731a5b7b871e425fd3fe9bd5668267dfeaa3.tar.bz2
small problem removed
-rw-r--r--init.lua4
-rw-r--r--textures/advtrains_platform_version_node.pngbin709 -> 743 bytes
2 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 14c7c6f..dd5e52d 100644
--- a/init.lua
+++ b/init.lua
@@ -194,9 +194,9 @@ for nr = 1,#path_names do
local b = lengths[1] -- "back" in 1/10 nodes
local f = lengths[2] -- "front" in 1/10 nodes
- local h = string.format(":"..path_names[nr] .."path_track_%02d%02d",b,f)
+ local h = string.format(":"..path_names[nr]:gsub(" ","_") .."path_track_%02d%02d",b,f)
local d = string.format(path_names[nr] .."path %02d-%02d",b,f)
- local h2 = string.format(":"..path_names[nr] .."path_track_narrow_%02d%02d",b,f)
+ local h2 = string.format(":"..path_names[nr]:gsub(" ","_") .."path_track_narrow_%02d%02d",b,f)
local d2 = string.format(path_names[nr] .."path (narrow) %02d-%02d",b,f)
minetest.register_node(own_name..h,
diff --git a/textures/advtrains_platform_version_node.png b/textures/advtrains_platform_version_node.png
index 0b50735..37b02d7 100644
--- a/textures/advtrains_platform_version_node.png
+++ b/textures/advtrains_platform_version_node.png
Binary files differ