From 208d1888c62d4b32a81f72466323d96b28b80f65 Mon Sep 17 00:00:00 2001 From: themrrobert <10122432+themrrobert@users.noreply.github.com> Date: Tue, 15 Nov 2022 16:25:02 -0800 Subject: [PATCH] Enable solo tob for finish command --- src/simulation/misc/TheatreOfBlood.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simulation/misc/TheatreOfBlood.ts b/src/simulation/misc/TheatreOfBlood.ts index 439b74ac3..2a213df3a 100644 --- a/src/simulation/misc/TheatreOfBlood.ts +++ b/src/simulation/misc/TheatreOfBlood.ts @@ -163,8 +163,8 @@ export class TheatreOfBloodClass { public complete(_options: TheatreOfBloodOptions) { const options = JSONClone(_options); - if (options.team.length < 2 || options.team.length > 4) { - throw new Error('Only team sizes of 2-4 are supported in ToB'); + if (options.team.length < 1 || options.team.length > 4) { + throw new Error('Only team sizes of 1-4 are supported in ToB'); } const maxPointsPerPerson = 22;