Use ContentInstallerMod in MainMenuLogic.
This commit is contained in:
committed by
Oliver Brakmann
parent
f79a3a8d03
commit
36d7b5131e
@@ -93,7 +93,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
// so we can't do this inside the input handler.
|
// so we can't do this inside the input handler.
|
||||||
Game.RunAfterTick(() =>
|
Game.RunAfterTick(() =>
|
||||||
{
|
{
|
||||||
Game.InitializeMod("modcontent", new Arguments(new[] { "Content.Mod=" + modData.Manifest.Id }));
|
var content = modData.Manifest.Get<ModContent>();
|
||||||
|
Game.InitializeMod(content.ContentInstallerMod, new Arguments(new[] { "Content.Mod=" + modData.Manifest.Id }));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user