This commit is contained in:
Eric House 2021-02-19 18:15:22 -08:00
parent 3d87d4f60a
commit 5b645abae8

View file

@ -831,13 +831,7 @@ main_onGameMessage( Globals* globals, XP_U32 gameID,
XWStreamCtxt* stream = mem_stream_make_raw( MPPARM(globals->mpool)
globals->vtMgr );
dvc_makeMQTTNoSuchGame( globals->dutil, NULL, stream, gameID );
XP_UCHAR topic[64];
formatMQTTTopic( &from->u.mqtt.devID, topic, sizeof(topic) );
XP_U16 streamLen = stream_getSize( stream );
call_mqttSend( topic, stream_getPtr( stream ), streamLen );
stream_destroy( stream, NULL );
sendStreamToDev( stream, &from->u.mqtt.devID );
call_alert( "Dropping packet for non-existant game" );
}