Skip to content

Commit

Permalink
chore: update settings after other things
Browse files Browse the repository at this point in the history
  • Loading branch information
cyperdark committed Jul 19, 2024
1 parent 33d4da2 commit 19bd79f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tosu/src/objects/instanceManager/osuInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,6 @@ export class OsuInstance {
while (!this.isDestroyed) {
try {
allTimesData.updateState();
settings.updateState();

const menuUpdate = menuData.updateState();
if (menuUpdate === 'not-ready') {
await sleep(config.pollRate);
Expand Down Expand Up @@ -289,6 +287,8 @@ export class OsuInstance {
}
}

settings.updateState();

const currentMods =
allTimesData.Status === 2
? gamePlayData.Mods
Expand Down

0 comments on commit 19bd79f

Please sign in to comment.