Change ILoadScreen to take a ModData instance.

This commit is contained in:
Paul Chote
2016-02-07 16:16:12 +00:00
parent aaa5b37199
commit 79b039d8b9
5 changed files with 7 additions and 7 deletions

View File

@@ -53,7 +53,7 @@ namespace OpenRA
if (useLoadScreen)
{
LoadScreen = ObjectCreator.CreateObject<ILoadScreen>(Manifest.LoadScreen.Value);
LoadScreen.Init(Manifest, Manifest.LoadScreen.ToDictionary(my => my.Value));
LoadScreen.Init(this, Manifest.LoadScreen.ToDictionary(my => my.Value));
LoadScreen.Display();
}
@@ -205,7 +205,7 @@ namespace OpenRA
public interface ILoadScreen : IDisposable
{
void Init(Manifest m, Dictionary<string, string> info);
void Init(ModData m, Dictionary<string, string> info);
void Display();
void StartGame(Arguments args);
}