mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Tweaked footsteps
This commit is contained in:
parent
a7fd6c7aee
commit
d27c32f23f
2 changed files with 3 additions and 2 deletions
|
|
@ -36,5 +36,6 @@ FOOTSTEP_SFX = [
|
|||
# Red Factory Interior
|
||||
[],
|
||||
# Red observation deck
|
||||
['step_metal_light'],
|
||||
['step_metal_light',
|
||||
'step_tile'],
|
||||
]
|
||||
|
|
|
|||
|
|
@ -264,7 +264,7 @@ class Game_Player < Game_Character
|
|||
return unless $game_temp.footstep_sfx
|
||||
tag = $game_map.terrain_tag(@x, @y) - 1
|
||||
if tag >= 0 && tag < $game_temp.footstep_sfx.size
|
||||
Audio.se_play("Audio/SE/#{$game_temp.footstep_sfx[tag]}.wav")
|
||||
Audio.se_play("Audio/SE/#{$game_temp.footstep_sfx[tag]}.wav", 50)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue