More Cleanup from Code Analysis
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user