We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42490ff commit b7ccae4Copy full SHA for b7ccae4
src/nodes/Player.ts
@@ -205,6 +205,10 @@ export default class Player extends GameNode {
205
}
206
207
async resolve() {
208
+ // Don't trigger if we're already paused for something else
209
+ if (this.currentState === "pause") {
210
+ return;
211
+ }
212
this.currentState = "pause";
213
if (
214
await this.board.resolve((score) => {
0 commit comments