Skip to content

Commit

Permalink
fix: fixing that 3221226505 error code
Browse files Browse the repository at this point in the history
  • Loading branch information
KotRikD committed May 11, 2024
1 parent 32ca07c commit 6eb6018
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion packages/tosu/src/entities/TourneyManagerData/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { wLogger } from '@tosu/common';
import { sleep, wLogger } from '@tosu/common';

import { AbstractEntity } from '@/entities/AbstractEntity';

Expand Down Expand Up @@ -43,6 +43,7 @@ export class TourneyManagerData extends AbstractEntity {
}

if (this.ChatAreaAddr === 0) {
await sleep(1000);
this.ChatAreaAddr = process.scanSync(
TOURNAMENT_CHAT_ENGINE,
true
Expand Down
5 changes: 0 additions & 5 deletions packages/tosu/src/entities/TourneyUserProfileData/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ export class TourneyUserProfileData extends AbstractEntity {
);
if (!spectatingUserDrawable) {
wLogger.debug('TUPD(updateState) Slot is not equiped');
this.reportError(
'TUPD(updateState) Slot',
20,
`TUPD(updateState) Slot is not equiped`
);

this.resetState();
gamePlayData.init();
Expand Down

0 comments on commit 6eb6018

Please sign in to comment.