mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
use name from invitation
This commit is contained in:
parent
523c9b270a
commit
03d76fbacd
1 changed files with 3 additions and 0 deletions
|
@ -647,6 +647,9 @@ newFromInvite( Globals* globals, const NetLaunchInfo* invite )
|
|||
globals->dict, NULL,
|
||||
gs->util, globals->draw,
|
||||
&globals->cp, &globals->procs );
|
||||
if ( invite->gameName[0] ) {
|
||||
strcpy( gs->gameName, invite->gameName );
|
||||
}
|
||||
ensureName( gs );
|
||||
return gs;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue