Added new audio banks, fix scaling for options sliders #416
Binary file not shown.
Binary file not shown.
|
@ -73,13 +73,13 @@ namespace SHADE_Scripting.UI
|
|||
}
|
||||
if (sfx != null)
|
||||
{
|
||||
Settings.sfxVolume = sfx.ScaledValue;
|
||||
Settings.sfxVolume = sfx.ScaledValue * 0.01f;
|
||||
SHADE.Audio.SetVCAVolume("vca:/SFX", Settings.sfxVolume);
|
||||
SHADE.Audio.SetVCAVolume("vca:/UI", Settings.sfxVolume);
|
||||
}
|
||||
if (bgm != null)
|
||||
{
|
||||
Settings.bgmVolume = bgm.ScaledValue;
|
||||
Settings.bgmVolume = bgm.ScaledValue * 0.01f;
|
||||
SHADE.Audio.SetVCAVolume("vca:/MUSIC", Settings.bgmVolume);
|
||||
}
|
||||
if (fov != null)
|
||||
|
|
Loading…
Reference in New Issue