From 2063277654e67973c1d6e72f3091969f971e2b16 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 24 Sep 2011 19:56:29 +1200 Subject: [PATCH] remove dead SaveSequencesForUnit --- OpenRA.Game/Graphics/SequenceProvider.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/OpenRA.Game/Graphics/SequenceProvider.cs b/OpenRA.Game/Graphics/SequenceProvider.cs index 1fbcfde2e5..2015b4c862 100644 --- a/OpenRA.Game/Graphics/SequenceProvider.cs +++ b/OpenRA.Game/Graphics/SequenceProvider.cs @@ -41,15 +41,6 @@ namespace OpenRA.Graphics } catch (FileNotFoundException) {} // Do nothing; we can crash later if we actually wanted art } - public static MiniYaml SaveSequencesForUnit(string unitname) - { - var ret = new List(); - foreach (var s in units[unitname]) - ret.Add(new MiniYamlNode(s.Key, s.Value.Save())); - - return new MiniYaml(null, ret); - } - public static Sequence GetSequence(string unitName, string sequenceName) { try { return units[unitName][sequenceName]; }