Skip to content

Commit

Permalink
changes to setSessionId
Browse files Browse the repository at this point in the history
  • Loading branch information
ruth0048 committed Sep 3, 2019
1 parent de63833 commit cb8cb0e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/brainCloudBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ function BrainCloudManager ()

bcm.setSessionId = function(sessionId)
{
if(sessionId !== null || sessionId !== "")
{
bcm._isAuthenticated = true;
bcm._packetId = -1;
}
bcm._sessionId = sessionId;
};

Expand Down

0 comments on commit cb8cb0e

Please sign in to comment.