diff --git a/src/core/execution/FakeHumanExecution.ts b/src/core/execution/FakeHumanExecution.ts index ef6d9977a..a3a40ad9b 100644 --- a/src/core/execution/FakeHumanExecution.ts +++ b/src/core/execution/FakeHumanExecution.ts @@ -928,6 +928,10 @@ export class FakeHumanExecution implements Execution { (a, b) => b.numTilesOwned() - a.numTilesOwned(), ); + if (sorted.length < 2) { + this.dogpileTarget = null; + return; + } const top = sorted[0]; const second = sorted[1];