fix formatting nit in SequenceProvider

This commit is contained in:
Chris Forbes
2011-09-24 19:57:33 +12:00
parent f6661d5e47
commit e829e4b5aa

View File

@@ -35,10 +35,12 @@ namespace OpenRA.Graphics
static void LoadSequencesForUnit(string unit, MiniYaml sequences) static void LoadSequencesForUnit(string unit, MiniYaml sequences)
{ {
Game.modData.LoadScreen.Display(); Game.modData.LoadScreen.Display();
try { try
{
var seq = sequences.NodesDict.ToDictionary(x => x.Key, x => new Sequence(unit,x.Key,x.Value)); var seq = sequences.NodesDict.ToDictionary(x => x.Key, x => new Sequence(unit,x.Key,x.Value));
units.Add(unit, seq); units.Add(unit, seq);
} catch (FileNotFoundException) {} // Do nothing; we can crash later if we actually wanted art }
catch (FileNotFoundException) {} // Do nothing; we can crash later if we actually wanted art
} }
public static Sequence GetSequence(string unitName, string sequenceName) public static Sequence GetSequence(string unitName, string sequenceName)