diff --git a/xwords4/common/nwgamest.c b/xwords4/common/nwgamest.c index 9085efed4..8063e2f28 100644 --- a/xwords4/common/nwgamest.c +++ b/xwords4/common/nwgamest.c @@ -121,7 +121,7 @@ newg_load( NewGameCtx* ngc, const CurGameInfo* gi ) } ngc->role = role = gi->serverRole; - localOnly = role == SERVER_ISCLIENT && ngc->isNewGame; + localOnly = (role == SERVER_ISCLIENT) && ngc->isNewGame; #ifndef XWFEATURE_STANDALONE_ONLY value.ng_role = role; (*ngc->setAttrProc)( closure, NG_ATTR_ROLE, value );