improve footstep sounds

This commit is contained in:
jorsi
2020-06-04 15:52:31 -04:00
parent a5c81f10e8
commit dc3184e31b
8 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ var World = {
World.doSpace();
// play random footstep
var randomFootstep = Math.floor(Math.random() * 2) + 1;
var randomFootstep = Math.floor(Math.random() * 5) + 1;
AudioEngine.playSound(AudioLibrary['FOOTSTEPS_' + randomFootstep]);
if(World.checkDanger()) {