Skip to content

Commit

Permalink
Remove code that is now handled by SPT
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchangelWTF committed Nov 25, 2024
1 parent 7afae29 commit 8873f06
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/controllers/FikaDialogueController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@ export class FikaDialogueController {
// Cast to any to get rid of protected error
const dialogueChatBots: IDialogueChatBot[] = (this.dialogController as any).dialogueChatBots;
let botsAndFriends = dialogueChatBots.map((v) => v.getChatBot());
if (!core.features.chatbotFeatures.commandoEnabled) {
botsAndFriends = botsAndFriends.filter((u) => u._id != "sptCommando");
}

if (!core.features.chatbotFeatures.sptFriendEnabled) {
botsAndFriends = botsAndFriends.filter((u) => u._id != "sptFriend");
}

const friendsIds = this.fikaPlayerRelationsHelper.getFriendsList(sessionID);

Expand Down

0 comments on commit 8873f06

Please sign in to comment.