mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
- A little logic correction for cases where the AIPreference list would have an override.
This commit is contained in:
@@ -332,7 +332,7 @@ public class ComputerUtil {
|
||||
}
|
||||
}
|
||||
|
||||
if (!prefList.isEmpty()) {
|
||||
if (!prefList.isEmpty() || (overrideList != null && !overrideList.isEmpty())) {
|
||||
return ComputerUtilCard.getWorstAI(overrideList == null ? prefList : overrideList);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user