set NeedWipeOptions on profile creation

This commit is contained in:
Dev 2023-10-28 12:28:52 +01:00
parent 6e5d35dbd1
commit 6e3e8f13d6

View File

@ -138,6 +138,7 @@ export class ProfileController
pmcData.Info.RegistrationDate = this.timeUtil.getTimestamp(); pmcData.Info.RegistrationDate = this.timeUtil.getTimestamp();
pmcData.Info.Voice = this.databaseServer.getTables().templates.customization[info.voiceId]._name; pmcData.Info.Voice = this.databaseServer.getTables().templates.customization[info.voiceId]._name;
pmcData.Stats = this.profileHelper.getDefaultCounters(); pmcData.Stats = this.profileHelper.getDefaultCounters();
pmcData.Info.NeedWipeOptions = [];
pmcData.Customization.Head = info.headId; pmcData.Customization.Head = info.headId;
pmcData.Health.UpdateTime = this.timeUtil.getTimestamp(); pmcData.Health.UpdateTime = this.timeUtil.getTimestamp();
pmcData.Quests = []; pmcData.Quests = [];