fix formatting nit in SequenceProvider
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user