Re: Tedious Travel 0.2.2
Posted: Wed Dec 05, 2018 10:10 pm
Did a git bisect research, and spurious horse clop dates back from commit 60d083e, "Make all sound effects respect volume setting".
I think it (re)sets sound volume in new places that interfere with Tedious Travel mod volume control.
I hope this can be fixed without breaking anything else...
PS The culpit hunk is, rather logically:
PPS Ok, the bug is that DaggerfallUnity.Settings.SoundVolume is not multiplied by RidingVolumeScale in above code, like in the other places where horse sound volume is set.
I created a PR
I think it (re)sets sound volume in new places that interfere with Tedious Travel mod volume control.
I hope this can be fixed without breaking anything else...
PS The culpit hunk is, rather logically:
Code: Select all
diff --git a/Assets/Scripts/Game/TransportManager.cs b/Assets/Scripts/Game/TransportManager.cs
index 7f62b971..ecd1fbba 100644
--- a/Assets/Scripts/Game/TransportManager.cs
+++ b/Assets/Scripts/Game/TransportManager.cs
@@ -146,7 +146,10 @@ namespace DaggerfallWorkshop.Game
}
if (!ridingAudioSource.isPlaying)
+ {
+ ridingAudioSource.volume = DaggerfallUnity.Settings.SoundVolume;
ridingAudioSource.Play();
+ }
}
// Time for a whinney?
if (neighTime < Time.time)
I created a PR