aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_industrial/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_train_industrial/init.lua')
-rw-r--r--advtrains_train_industrial/init.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/advtrains_train_industrial/init.lua b/advtrains_train_industrial/init.lua
index 4d64615..beec5b3 100644
--- a/advtrains_train_industrial/init.lua
+++ b/advtrains_train_industrial/init.lua
@@ -1,10 +1,4 @@
--- Boilerplate to support localized strings if intllib mod is installed.
-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_industrial", {
mesh="advtrains_engine_industrial.b3d",