made it work again without aftermath

This commit is contained in:
Chris Forbes
2009-12-19 15:28:21 +13:00
parent a18fae872e
commit 02a9ef5920

View File

@@ -48,7 +48,8 @@ namespace OpenRa.Game
FieldLoader.Load(General, AllRules.GetSection("General"));
Aftermath = new AftermathInfo();
FieldLoader.Load(Aftermath, AllRules.GetSection("Aftermath"));
if (useAftermath)
FieldLoader.Load(Aftermath, AllRules.GetSection("Aftermath"));
LoadCategories(
"Building",