Skip to content
Snippets Groups Projects
Commit b3756b5a authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@4559 51575b47-30f0-44d4-a5cc-537603b46e54
parent 7d4a0018
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ return {
foreground = function(level, x, y, nb_keyframes)
if level.level ~= 3 then return end
if nb_keyframes > 10 then return end
if nb_keyframes > 0 and rng.chance(400 / nb_keyframes) then local s = game:playSound("ambient/ambient_horror_sound_0"..rng.range(1, 6)) if s then s:volume(s:volume() * 1.5) end end
if nb_keyframes > 0 and rng.chance(400 / nb_keyframes) then local s = game:playSound("ambient/horror/ambient_horror_sound_0"..rng.range(1, 6)) if s then s:volume(s:volume() * 1.5) end end
end,
on_enter = function(lev, old_lev, newzone)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment