Add quit exit for gameStart when resetting profile
This commit is contained in:
parent
eb22acc785
commit
64722bac17
@ -127,6 +127,12 @@ export class GameController
|
|||||||
if (sessionID)
|
if (sessionID)
|
||||||
{
|
{
|
||||||
const fullProfile = this.profileHelper.getFullProfile(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;
|
const pmcProfile = fullProfile.characters.pmc;
|
||||||
|
|
||||||
this.logger.debug(`Started game with sessionId: ${sessionID} ${pmcProfile.Info?.Nickname}`);
|
this.logger.debug(`Started game with sessionId: ${sessionID} ${pmcProfile.Info?.Nickname}`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user