fix unreferenced variable warning in SequenceProvider
This commit is contained in:
@@ -57,7 +57,7 @@ namespace OpenRa.Game.Graphics
|
|||||||
public static Sequence GetSequence(string unitName, string sequenceName)
|
public static Sequence GetSequence(string unitName, string sequenceName)
|
||||||
{
|
{
|
||||||
try { return units[unitName][sequenceName]; }
|
try { return units[unitName][sequenceName]; }
|
||||||
catch (KeyNotFoundException e)
|
catch (KeyNotFoundException)
|
||||||
{
|
{
|
||||||
throw new InvalidOperationException(
|
throw new InvalidOperationException(
|
||||||
"Unit `{0}` does not have a sequence `{1}`".F(unitName, sequenceName));
|
"Unit `{0}` does not have a sequence `{1}`".F(unitName, sequenceName));
|
||||||
|
|||||||
Reference in New Issue
Block a user