Migration to World.Defaults complete (for RA)

This commit is contained in:
alzeih
2010-04-02 02:16:20 +13:00
parent c29733da63
commit 3123b4d83b
14 changed files with 32 additions and 42 deletions

View File

@@ -34,7 +34,6 @@ namespace OpenRA
public static InfoLoader<WarheadInfo> WarheadInfo;
public static InfoLoader<ProjectileInfo> ProjectileInfo;
public static InfoLoader<VoiceInfo> VoiceInfo;
public static GeneralInfo General;
public static TechTree TechTree;
public static Dictionary<string, ActorInfo> Info;
@@ -45,9 +44,6 @@ namespace OpenRA
legacyRules.Insert(0, map);
AllRules = new IniFile(legacyRules.Select(a => FileSystem.Open(a)).ToArray());
General = new GeneralInfo();
FieldLoader.Load(General, AllRules.GetSection("General"));
LoadCategories(
"Weapon",
"Warhead",