diff --git a/project/src/services/PmcChatResponseService.ts b/project/src/services/PmcChatResponseService.ts index 619cb276..c7d68884 100644 --- a/project/src/services/PmcChatResponseService.ts +++ b/project/src/services/PmcChatResponseService.ts @@ -64,6 +64,11 @@ export class PmcChatResponseService // eslint-disable-next-line @typescript-eslint/no-unused-vars public sendKillerResponse(sessionId: string, pmcData: IPmcData, killer: Aggressor): void { + if (!killer) + { + return; + } + if (!this.randomUtil.getChance100(this.pmcResponsesConfig.killer.responseChancePercent)) { return;