Expanded 39x profile migration to include chatbots
This commit is contained in:
parent
9fe28edbe4
commit
4b12405329
@ -240,6 +240,17 @@ export class GameController {
|
||||
delete (fullProfile.characters.pmc.Hideout as any).Improvement;
|
||||
this.logger.warning(`Migration: Moved Hideout Improvement data to new property 'Improvements'`);
|
||||
}
|
||||
|
||||
//Remove spt friend / commando from dialogues as they need to be remade using mongo_ids
|
||||
const commando = fullProfile.dialogues.sptCommando;
|
||||
if (commando) {
|
||||
delete fullProfile.dialogues.sptCommando;
|
||||
}
|
||||
|
||||
const sptFriend = fullProfile.dialogues.friend;
|
||||
if (sptFriend) {
|
||||
delete fullProfile.dialogues.sptFriend;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user