diff options
Diffstat (limited to 'advtrains_train_subway/init.lua')
-rw-r--r-- | advtrains_train_subway/init.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/advtrains_train_subway/init.lua b/advtrains_train_subway/init.lua index 845f15f..c51758d 100644 --- a/advtrains_train_subway/init.lua +++ b/advtrains_train_subway/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("subway_wagon", { mesh="advtrains_subway_wagon.b3d", |