advtrain: fix sounds

This commit is contained in:
Sergei Mozhaisky 2019-12-16 13:44:45 +00:00
parent e0ba1ecd0b
commit c772eb9cce
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ else
S = function(s,a,...)a={a,...}return s:gsub("@(%d+)",function(n)return a[tonumber(n)]end)end
end
local SND_LOOP_LEN = 5
local SND_LOOP_LEN = 2
advtrains.register_wagon("engine_electric", {
mesh="advtrains_engine_electric.b3d",

View File

@ -5,6 +5,8 @@ else
S = function(s,a,...)a={a,...}return s:gsub("@(%d+)",function(n)return a[tonumber(n)]end)end
end
local SND_LOOP_LEN = 2
advtrains.register_wagon("KuHa_E231", {
mesh="advtrains_KuHa_E231.b3d",
textures = {"advtrains_KuHa_E231.png"},