Load [Aftermath] setttings from aftrmath.ini; use ChronoTankDuration in ChronoshiftDeploy

This commit is contained in:
pchote
2009-12-18 16:41:28 -08:00
parent cdea6b642b
commit 3d41d35226
3 changed files with 11 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ namespace OpenRa.Game
public static InfoLoader<ProjectileInfo> ProjectileInfo;
public static InfoLoader<VoiceInfo> VoiceInfo;
public static GeneralInfo General;
public static AftermathInfo Aftermath;
public static TechTree TechTree;
public static Map Map;
public static TileSet TileSet;
@@ -46,6 +47,9 @@ namespace OpenRa.Game
General = new GeneralInfo();
FieldLoader.Load(General, AllRules.GetSection("General"));
Aftermath = new AftermathInfo();
FieldLoader.Load(Aftermath, AllRules.GetSection("Aftermath"));
LoadCategories(
"Building",
"Defense",