More Cleanup from Code Analysis

This commit is contained in:
hondacrx
2017-06-24 18:41:58 -04:00
parent ad5ee77680
commit bfe5de0cfb
6 changed files with 13 additions and 11 deletions
+2 -1
View File
@@ -89,8 +89,9 @@ namespace Game.Spells
if (visuals != null)
_visuals = visuals;
// sort all visuals so that the ones without a condition requirement are last on the list
foreach (var key in _visuals.Keys)
foreach (var key in _visuals.Keys.ToList())
_visuals[key] = _visuals[key].OrderByDescending(x => x.PlayerConditionID).ToList();
// SpellScalingEntry