[Bug] Override battles into single only if not fighting with trainers (#1949)
This commit is contained in:
parent
3ef495c126
commit
b4cf80a984
|
@ -1010,7 +1010,8 @@ export default class BattleScene extends SceneBase {
|
||||||
if (Overrides.DOUBLE_BATTLE_OVERRIDE) {
|
if (Overrides.DOUBLE_BATTLE_OVERRIDE) {
|
||||||
newDouble = true;
|
newDouble = true;
|
||||||
}
|
}
|
||||||
if (Overrides.SINGLE_BATTLE_OVERRIDE) {
|
/* Override battles into single only if not fighting with trainers */
|
||||||
|
if (newBattleType !== BattleType.TRAINER && Overrides.SINGLE_BATTLE_OVERRIDE) {
|
||||||
newDouble = false;
|
newDouble = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue