use name from invitation

This commit is contained in:
Eric House 2021-02-23 09:04:56 -08:00
parent 523c9b270a
commit 03d76fbacd

View file

@ -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;
}