replace PlayMusicOnMapLoad trait with Lua Media.PlayMusic method

This commit is contained in:
Matthias Mailänder
2014-11-01 19:11:39 +01:00
parent 98fd875a43
commit 3489794713
8 changed files with 58 additions and 60 deletions

View File

@@ -41,7 +41,7 @@ namespace OpenRA.Mods.Common.Scripting
try
{
using (f)
f.Call();
f.Call().Dispose();
}
catch (Exception e)
{