From 10a2c5e4b7977fd35cde16893127fd65c2e12e30 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 30 Jul 2022 19:50:09 -0700 Subject: [PATCH] fix assertion failure in dupe mode --- xwords4/common/server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xwords4/common/server.c b/xwords4/common/server.c index 22e567087..beff9150b 100644 --- a/xwords4/common/server.c +++ b/xwords4/common/server.c @@ -3411,6 +3411,8 @@ dupe_commitAndReportMove( ServerCtxt* server, XWEnv xwe, XP_U16 winner, XWStreamCtxt* tmpStream = mem_stream_make_raw( MPPARM(server->mpool) dutil_getVTManager(server->vol.dutil) ); + /* tilesNBits, in moveInfoToStream(), needs version */ + stream_setVersion( tmpStream, server->nv.streamVersion ); addDupeStuffMark( tmpStream, DUPE_STUFF_MOVES_SERVER );