fix: 3v3 team match wrong problems
This commit is contained in:
@@ -202,6 +202,7 @@ class NetworkManager {
|
||||
const profile = (typeof GameGlobal !== 'undefined') ? GameGlobal.playerProfile : null;
|
||||
const nickname = (profile && profile.nickname) ? profile.nickname : '';
|
||||
const avatarUrl = (profile && profile.avatarUrl) ? profile.avatarUrl : '';
|
||||
const skinId = (GameGlobal && GameGlobal.skinManager) ? (GameGlobal.skinManager.getEquippedSkinId() || '') : '';
|
||||
|
||||
const message = JSON.stringify({
|
||||
type,
|
||||
@@ -209,6 +210,7 @@ class NetworkManager {
|
||||
playerId: this._playerId,
|
||||
nickname,
|
||||
avatarUrl,
|
||||
skinId,
|
||||
roomId: this._roomId,
|
||||
timestamp: Date.now(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user