player: only send acks if not in mass game mode
This commit is contained in:
parent
de4f010c2a
commit
68148e38c3
|
@ -319,6 +319,7 @@ void processPacket(struct packet *p)
|
||||||
ack.id= id;
|
ack.id= id;
|
||||||
ack.ctr= p->ctr;
|
ack.ctr= p->ctr;
|
||||||
ack.c.ack.flags = 0;
|
ack.c.ack.flags = 0;
|
||||||
|
if( p->id )
|
||||||
nrf_snd_pkt_crc(sizeof(ack),(uint8_t*)&ack);
|
nrf_snd_pkt_crc(sizeof(ack),(uint8_t*)&ack);
|
||||||
processText(&(p->c.text));
|
processText(&(p->c.text));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue