fixed a crash when trying to install a profile

pull/30/head
Miepee 5 years ago
parent f0b5a21861
commit 8294adf8e5

@ -376,6 +376,8 @@ namespace AM2RLauncher
HelperMethods.DirectoryCopy(dataPath + "/files_to_copy", profilePath);
// HQ music
bool isHqMusicChecked = false;
Application.Instance.Invoke(new Action(() => isHqMusicChecked = (bool)hqMusicPCCheck.Checked));
if (!profile.UsesCustomMusic && (bool)hqMusicPCCheck.Checked)
HelperMethods.DirectoryCopy(CrossPlatformOperations.CURRENTPATH + "/PatchData/data/HDR_HQ_in-game_music", profilePath);

Loading…
Cancel
Save