Changes to autoplay mode

This commit is contained in:
Flashfyre committed 2023-04-09 00:22:14 -04:00
1 parent 8bacb9bc84
commit 4ec91695f7
6 files changed
+128 -77

No files matched your search

+1 -1
View File
@@ -119,7 +119,7 @@ export default class UI extends Phaser.GameObjects.Container {
this.getHandler().show(args);
resolve();
};
if (transitionModes.indexOf(this.mode) > -1 || transitionModes.indexOf(mode) > -1) {
if ((transitionModes.indexOf(this.mode) > -1 || transitionModes.indexOf(mode) > -1) && !(this.scene as BattleScene).auto) {
this.transitioning = true;
this.overlay.setAlpha(0);
this.overlay.setVisible(true);