stop music and video when disposing the world
This commit is contained in:
@@ -387,6 +387,9 @@ namespace OpenRA
|
||||
|
||||
frameEndActions.Clear();
|
||||
|
||||
Sound.StopMusic();
|
||||
Sound.StopVideo();
|
||||
|
||||
// Dispose newer actors first, and the world actor last
|
||||
foreach (var a in actors.Reverse())
|
||||
a.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user