dogpile fix

This commit is contained in:
1brucben
2025-05-09 01:44:33 +02:00
parent 715d40ec9f
commit e8655cce89
+4
View File
@@ -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];