mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Small fix.
This commit is contained in:
@@ -194,7 +194,7 @@ public class DuelScene extends ForgeScene {
|
|||||||
private String selectAI(String ai) { //Decide opponent AI.
|
private String selectAI(String ai) { //Decide opponent AI.
|
||||||
String AI = ""; //Use user settings if it's null.
|
String AI = ""; //Use user settings if it's null.
|
||||||
if (ai != null){
|
if (ai != null){
|
||||||
switch (this.enemy.getData().ai.toLowerCase()) { //We use this way to ensure capitalization is exact.
|
switch (ai.toLowerCase()) { //We use this way to ensure capitalization is exact.
|
||||||
//We don't want misspellings here.
|
//We don't want misspellings here.
|
||||||
case "default":
|
case "default":
|
||||||
AI = "Default"; break;
|
AI = "Default"; break;
|
||||||
|
|||||||
Reference in New Issue
Block a user