mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 12:52:11 +00:00
dogpile fix
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user