diff --git a/app/features/tournament-subs/routes/to.$id.subs.new.tsx b/app/features/tournament-subs/routes/to.$id.subs.new.tsx index 3aae2db14..88eba5557 100644 --- a/app/features/tournament-subs/routes/to.$id.subs.new.tsx +++ b/app/features/tournament-subs/routes/to.$id.subs.new.tsx @@ -49,6 +49,10 @@ export const action: ActionFunction = async ({ params, request }) => { tournament.canAddNewSubPost, "Registration is closed or subs feature disabled", ); + validate( + !tournament.teamMemberOfByUser(user), + "Can't register as a sub and be in a team at the same time", + ); upsertSub({ bestWeapons: data.bestWeapons.join(","),