Please wait, an action is already in progress

Game development with Board Game Arena Studio
Post Reply
zim921
Posts: 11
Joined: 12 October 2022, 05:25

Please wait, an action is already in progress

Post by zim921 »

I’m receiving these messages incrementally when i click on an action. If I refresh, they disappear. Any idea?
Please wait, an action is already in progress
(Generated by: checkAction/actSelectToken)
User avatar
KuWizard
Posts: 330
Joined: 24 May 2018, 14:10

Re: Please wait, an action is already in progress

Post by KuWizard »

You probably incrementally add an event listener to your button with each click. Just add console.log() or debugger to your code just before actSelectToken() call or bgaPerformAction() and see how many times do you send this to backend. This happens when frontend have sent this action to backend once and is still waiting for an answer, e.g. a custom notification or a state change
Post Reply

Return to “Developers”