mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
[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…
x
Reference in New Issue
Block a user