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
+1 -1
View File
@@ -359,7 +359,7 @@ namespace Game.Combat
public void update()
{
if (iDirty && threatList.Count > 1)
threatList.OrderByDescending(p => p.getThreat());
threatList = threatList.OrderByDescending(p => p.getThreat()).ToList();
iDirty = false;
}