Merge pull request #10948 from pchote/custom-map-merger

Add --map-rules utility command for the resource center
This commit is contained in:
Pavel Penev
2016-03-27 22:12:47 +03:00
3 changed files with 70 additions and 1 deletions

View File

@@ -226,8 +226,9 @@ namespace OpenRA
return Ruleset.Load(modData, this, TileSet, ruleDefinitions, weaponDefinitions,
voiceDefinitions, notificationDefinitions, musicDefinitions, sequenceDefinitions);
}
catch
catch (Exception e)
{
Log.Write("debug", "Failed to load rules for `{0}` with error :{1}", Title, e.Message);
InvalidCustomRules = true;
return Ruleset.LoadDefaultsForTileSet(modData, TileSet);
}