diff --git a/xwords4/relay/cref.cpp b/xwords4/relay/cref.cpp index dd33123f4..ee3c92b9b 100644 --- a/xwords4/relay/cref.cpp +++ b/xwords4/relay/cref.cpp @@ -908,6 +908,7 @@ CookieRef::increasePlayerCounts( CRefEvent* evt, bool reconn, HostID* hidp, // does client support devID if ( ID_TYPE_NONE != devIDType ) { devID = DBMgr::Get()->RegisterDevice( evt->u.con.devID ); + DevMgr::Get()->Remember( devID, &evt->addr ); } *devIDp = devID; } @@ -917,8 +918,6 @@ CookieRef::increasePlayerCounts( CRefEvent* evt, bool reconn, HostID* hidp, evt->u.con.clientVersion, nPlayersH, seed, &evt->addr, devID, reconn ); - DevMgr::Get()->Remember( devID, &evt->addr ); - HostID hostid = evt->u.con.srcID; if ( NULL != hidp ) { *hidp = hostid;