fix #572 crash when switching mods while playing music
This commit is contained in:
@@ -268,6 +268,8 @@ namespace OpenRA
|
|||||||
Settings.Game.Mods = mm;
|
Settings.Game.Mods = mm;
|
||||||
Settings.Save();
|
Settings.Save();
|
||||||
|
|
||||||
|
Sound.StopMusic();
|
||||||
|
Sound.StopVideo();
|
||||||
Sound.Initialize();
|
Sound.Initialize();
|
||||||
|
|
||||||
modData = new ModData( mm );
|
modData = new ModData( mm );
|
||||||
|
|||||||
Reference in New Issue
Block a user