aboutsummaryrefslogtreecommitdiff
path: root/moretrains_gondola
diff options
context:
space:
mode:
Diffstat (limited to 'moretrains_gondola')
-rw-r--r--moretrains_gondola/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/moretrains_gondola/init.lua b/moretrains_gondola/init.lua
index 393ce65..06dce82 100644
--- a/moretrains_gondola/init.lua
+++ b/moretrains_gondola/init.lua
@@ -7,7 +7,7 @@ end
local function escape_texture(str)
- return str:gsub("[\\[]", "\\["):gsub(":", "\\:"):gsub("[\\^]", "\\^")
+ return str:gsub("[%[%()^:]", "\\%1")
end
local function set_textures(self, data)