Play the floor step sound by default
This commit is contained in:
parent
8f40f575bf
commit
c6594712df
@ -1655,9 +1655,6 @@ export class Level extends LevelInterface {
|
||||
else if (actor.slide_mode === 'force') {
|
||||
this.sfx.play_once('slide-force');
|
||||
}
|
||||
else if (terrain.type.name === 'floor') {
|
||||
this.sfx.play_once('step-floor');
|
||||
}
|
||||
else if (terrain.type.name === 'gravel' || terrain.type.name === 'railroad') {
|
||||
this.sfx.play_once('step-gravel');
|
||||
}
|
||||
@ -1677,6 +1674,9 @@ export class Level extends LevelInterface {
|
||||
else if (terrain.type.slide_mode === 'ice') {
|
||||
this.sfx.play_once('step-ice');
|
||||
}
|
||||
else {
|
||||
this.sfx.play_once('step-floor');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user