fix onNextPhase callback

This commit is contained in:
Alex Van Liew 2024-08-20 19:13:14 -07:00
parent e80f158691
commit c47c82e634
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ export default class PhaseInterceptor {
const currentPhase = this.onHold[0]; const currentPhase = this.onHold[0];
if (currentPhase?.name === targetName) { if (currentPhase?.name === targetName) {
clearInterval(interval); clearInterval(interval);
cb(currentPhase); cb(this.scene.getCurrentPhase());
} }
}); });
} }