mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-04-25 08:07:59 -05:00
Fixing double send
This commit is contained in:
parent
367f504338
commit
d52a709f81
|
|
@ -198,7 +198,7 @@ void messageLoop() {
|
|||
std::vector<u32>{counters[linkWireless->getPlayerId()]});
|
||||
CHECK_ERRORS("Send failed :(")
|
||||
|
||||
if (!doubleSend && (keys & KEY_LEFT)) {
|
||||
if (!doubleSend && (keys & KEY_LEFT) && linkWireless->canSend()) {
|
||||
doubleSend = true;
|
||||
goto again;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user