Add quit exit for gameStart when resetting profile

This commit is contained in:
Dev 2023-11-25 13:26:11 +00:00
parent eb22acc785
commit 64722bac17

View File

@ -127,6 +127,12 @@ export class GameController
if (sessionID)
{
const fullProfile = this.profileHelper.getFullProfile(sessionID);
if (fullProfile.info.wipe)
{
// Don't bother doing any fixes, we're resetting profile
return;
}
const pmcProfile = fullProfile.characters.pmc;
this.logger.debug(`Started game with sessionId: ${sessionID} ${pmcProfile.Info?.Nickname}`);