diff --git a/src/DevMenu/ui/General.tsx b/src/DevMenu/ui/General.tsx index ea4368304..9b96e8326 100644 --- a/src/DevMenu/ui/General.tsx +++ b/src/DevMenu/ui/General.tsx @@ -68,7 +68,7 @@ export function General(props: IProps): React.ReactElement { function setGangFactionDropdown(event: SelectChangeEvent): void { setGangFaction(event.target.value); } - + function checkMessages(): void { checkForMessagesToSend(); } diff --git a/src/data/codingcontracttypes.ts b/src/data/codingcontracttypes.ts index 21e7e40f1..e12c9ae4e 100644 --- a/src/data/codingcontracttypes.ts +++ b/src/data/codingcontracttypes.ts @@ -1126,7 +1126,7 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [ for (let i = 0; i < sanitizedPlayerAnsArr.length; ++i) { sanitizedPlayerAnsArr[i] = removeQuotesFromString(sanitizedPlayerAnsArr[i]).replace(/\s/g, ""); } - + if (sanitizedPlayerAnsArr.length !== res.length) { return false; }