Misc fixes

This commit is contained in:
hondacrx
2022-08-04 18:06:54 -04:00
parent 4fea5e1b1e
commit a164362caa
3 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -465,7 +465,7 @@ namespace Game.Combat
oldVictimRef = null;
// in 99% of cases - we won't need to actually look at anything beyond the first element
ThreatReference highest = _sortedThreatList.Max();
ThreatReference highest = _sortedThreatList.First();
// if the highest reference is offline, the entire list is offline, and we indicate this
if (!highest.IsAvailable())
return null;