mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-29 16:51:53 +08:00
improve footstep sounds
This commit is contained in:
+1
-1
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user