regression: notify remote when deleted game messaged

This commit is contained in:
Eric House 2021-02-24 06:51:03 -08:00
parent c801243dd5
commit 6b650907b2

View file

@ -986,8 +986,14 @@ main_onGameMessage( Globals* globals, XP_U32 gameID,
}
} else {
char msg[128];
snprintf( msg, sizeof(msg), "Dropping move for deleted game (id: %X)", gameID );
snprintf( msg, sizeof(msg), "Dropping move for deleted game (id: %X/%d)",
gameID, gameID );
call_alert( msg );
XWStreamCtxt* stream = mem_stream_make_raw( MPPARM(globals->mpool)
globals->vtMgr );
dvc_makeMQTTNoSuchGame( globals->dutil, NULL, stream, gameID );
sendStreamToDev( stream, &from->u.mqtt.devID );
}
}