Remove RulesetCache and push rule parsing to background thread.
This commit is contained in:
@@ -30,7 +30,6 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
// HACK: The engine code assumes that Game.modData is set.
|
||||
Game.ModData = modData;
|
||||
modData.RulesetCache.Load(modData.DefaultFileSystem);
|
||||
|
||||
var types = Game.ModData.ObjectCreator.GetTypes();
|
||||
var translatableFields = types.SelectMany(t => t.GetFields())
|
||||
|
||||
Reference in New Issue
Block a user