diff options
Diffstat (limited to 'advtrains_train_steam/init.lua')
-rwxr-xr-x | advtrains_train_steam/init.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/advtrains_train_steam/init.lua b/advtrains_train_steam/init.lua index 6b5047c..057ad8f 100755 --- a/advtrains_train_steam/init.lua +++ b/advtrains_train_steam/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 -- length of the steam engine loop sound local SND_LOOP_LEN = 5 |