aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_japan/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_train_japan/init.lua')
-rw-r--r--advtrains_train_japan/init.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/advtrains_train_japan/init.lua b/advtrains_train_japan/init.lua
index c76ce8f..1aa2771 100644
--- a/advtrains_train_japan/init.lua
+++ b/advtrains_train_japan/init.lua
@@ -1,9 +1,4 @@
-local S
-if minetest.get_modpath("intllib") then
- S = intllib.Getter()
-else
- S = function(s,a,...)a={a,...}return s:gsub("@(%d+)",function(n)return a[tonumber(n)]end)end
-end
+local S = attrans
advtrains.register_wagon("engine_japan", {
mesh="advtrains_engine_japan.b3d",