# HG changeset patch # User Medo # Date 1345242153 -7200 # Node ID ed1d52c5aa94c7b84d130d1273e35bedba8d53d8 # Parent 6253cae96f2138ed01a2cb245e302ce9aec426c4 frontlib: Moved mapname sending to the end of flib_netconn_send_map diff -r 6253cae96f21 -r ed1d52c5aa94 project_files/frontlib/net/netconn_send.c --- a/project_files/frontlib/net/netconn_send.c Sat Aug 18 00:18:43 2012 +0200 +++ b/project_files/frontlib/net/netconn_send.c Sat Aug 18 00:22:33 2012 +0200 @@ -267,12 +267,14 @@ } error |= flib_netconn_send_mapGen(conn, map->mapgen); error |= flib_netconn_send_mapMazeSize(conn, map->mazeSize); + if(map->drawData && map->drawDataSize>0) { + error |= flib_netconn_send_mapDrawdata(conn, map->drawData, map->drawDataSize); + } + // Name is sent last, because the QtFrontend uses this to update its preview, and to show/hide + // certain fields if(map->name) { error |= flib_netconn_send_mapName(conn, map->name); } - if(map->drawData && map->drawDataSize>0) { - error |= flib_netconn_send_mapDrawdata(conn, map->drawData, map->drawDataSize); - } return error; }