- A little logic correction for cases where the AIPreference list would have an override.

This commit is contained in:
Agetian
2017-10-04 12:13:55 +00:00
parent fa8d2f0a25
commit f155244997

View File

@@ -332,7 +332,7 @@ public class ComputerUtil {
} }
} }
if (!prefList.isEmpty()) { if (!prefList.isEmpty() || (overrideList != null && !overrideList.isEmpty())) {
return ComputerUtilCard.getWorstAI(overrideList == null ? prefList : overrideList); return ComputerUtilCard.getWorstAI(overrideList == null ? prefList : overrideList);
} }
} }