Skip to content

Commit b30e536

Browse files
committed
The volume level should now be properly retrieved from settings on startup
1 parent 02dbb70 commit b30e536

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Munchies/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.2.13208.22")]
36-
[assembly: AssemblyFileVersion("1.2.13208.22")]
35+
[assembly: AssemblyVersion("1.2.13208.23")]
36+
[assembly: AssemblyFileVersion("1.2.13208.23")]

Munchies/Utilities/AudioManager.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,8 @@ internal static void Initialize(MainWindow window)
157157
// Special handling for the first volume setting.
158158
window.soundToolStripMenuItem.DropDownItems[0].Text = "Off";
159159

160-
//Volume = (float)(int)Program.Settings.GetSetting("SoundVolume") / (float)VolumeLevelMax;
161-
162-
163-
160+
Volume = (float)(int)Program.Settings.GetSetting("SoundVolume") / (float)VolumeLevelMax;
161+
164162

165163
PreloadAllSounds();
166164
}

0 commit comments

Comments
 (0)