diff --git a/src/core/execution/FakeHumanExecution.ts b/src/core/execution/FakeHumanExecution.ts index 90d129b96..2314ce747 100644 --- a/src/core/execution/FakeHumanExecution.ts +++ b/src/core/execution/FakeHumanExecution.ts @@ -470,6 +470,7 @@ export class FakeHumanExecution implements Execution { this.mg.isOceanShore(t), ) : Array.from(this.player.tiles()); + if (tiles.length === 0) return null; return this.random.randElement(tiles); }