mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 13:59:27 +02:00
Fixed tpyo
This commit is contained in:
parent
638e398fac
commit
3032262c73
@ -154,11 +154,9 @@ export class GameManager {
|
|||||||
* @param mode - The mode to wait for.
|
* @param mode - The mode to wait for.
|
||||||
* @returns A promise that resolves when the mode is set.
|
* @returns A promise that resolves when the mode is set.
|
||||||
*/
|
*/
|
||||||
waitMode(mode: UiMode): Promise<void> {
|
// TODO: This is unused
|
||||||
return new Promise(async resolve => {
|
async waitMode(mode: UiMode): Promise<void> {
|
||||||
await waitUntil(() => this.scene.ui?.getMode() === mode);
|
await vi.waitUntil(() => this.scene.ui?.getMode() === mode);
|
||||||
return resolve();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user