Use the same team id in view update as in team join

objectmenu
Günther Brammer 2016-01-27 04:00:44 +01:00
parent 4bcdfc451e
commit 23acdc6060
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ void C4Player::Execute()
C4MenuItem *pSelectedTeamItem;
if ((pSelectedTeamItem = Menu.GetSelectedItem()))
{
int32_t idSelectedTeam = pSelectedTeamItem->GetValue();
int32_t idSelectedTeam = atoi(pSelectedTeamItem->GetCommand()+8);
if (idSelectedTeam)
{
C4Team *pSelectedTeam;