Skip to content

Commit

Permalink
Fixed bug Drewol#646
Browse files Browse the repository at this point in the history
Fixed bug where volume will revert to default value instead of user set value when loading into title screen for the first time.
  • Loading branch information
FructoseJuice committed Aug 2, 2023
1 parent 6629139 commit e3ac5c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Main/src/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ int32 Application::Run()
AddTickable(ss);
}
else // Start regular game, goto title screen
g_audio->SetGlobalVolume(g_gameConfig.GetFloat(GameConfigKeys::MasterVolume));
AddTickable(TitleScreen::Create());
}
}
Expand Down

0 comments on commit e3ac5c9

Please sign in to comment.