Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turnStart deadlock, stuck on "Move Recorded" #102

Open
Whebon opened this issue Sep 11, 2024 · 1 comment
Open

turnStart deadlock, stuck on "Move Recorded" #102

Whebon opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Whebon
Copy link
Owner

Whebon commented Sep 11, 2024

When the player only has a single card remaining to resolve at the start of the turn, the actFullyResolveTechniqueCard will be called programmatically. This may sometimes causes the game to be stuck on:

"Move Recorded"

//enteringstate
case 'turnStart':
    this.mySchedule.setSelectionMode('clickOnTurnStart', undefined, 'dale-wrap-technique');
    const turnStart_unique_card_id = this.mySchedule.getUniqueClickableCardId();
    if (turnStart_unique_card_id) {
	setTimeout((()=>this.onTurnStartTriggerTechnique(turnStart_unique_card_id)).bind(this), 1); //this may cause the deadlock
    }
    break;
@Whebon Whebon added the bug Something isn't working label Sep 11, 2024
@Whebon
Copy link
Owner Author

Whebon commented Sep 12, 2024

This happens when refreshing the page during turnStart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant