Ticket #3677: t3677.2.patch

File t3677.2.patch, 942 bytes (added by Sergey Kushnirenko, 8 years ago)
  • trunk/binaries/data/mods/public/gui/session/utility_functions.js

     
    3333            "isNeutral": playerState.isNeutral,
    3434            "isEnemy": playerState.isEnemy,
    3535            "guid": undefined, // network guid for players controlled by hosts
    36             "disconnected": false // flag for host-controlled players who have left the game
     36            "disconnected": false, // flag for host-controlled players who have left the game
     37            "offline" : true
    3738        };
    3839        players.push(player);
    3940    }
     
    4849            {
    4950                players[playerAssignment.player].guid = playerGuid;
    5051                players[playerAssignment.player].name = playerAssignment.name;
     52                players[playerAssignment.player].offline = false;
    5153            }
    5254        }
    5355    }