mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-25 17:52:20 +02:00
fix onNextPhase callback
This commit is contained in:
parent
e80f158691
commit
c47c82e634
@ -240,7 +240,7 @@ export default class PhaseInterceptor {
|
||||
const currentPhase = this.onHold[0];
|
||||
if (currentPhase?.name === targetName) {
|
||||
clearInterval(interval);
|
||||
cb(currentPhase);
|
||||
cb(this.scene.getCurrentPhase());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user