advtrain: fix sounds
This commit is contained in:
parent
e0ba1ecd0b
commit
c772eb9cce
@ -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",
|
||||
|
@ -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"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user