1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 04:00:30 +00:00

Hopefully fix flakiness in rednet test

This commit is contained in:
Jonathan Coates 2021-07-24 00:00:37 +01:00
parent b31e66686d
commit 0568c86628
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -2,11 +2,11 @@
rednet.open("top")
rednet.send(14, "Test msg")
local id, msg
repeat
id, msg = rednet.receive()
rednet.send(14, "Test msg") -- Keep sending, as other computer may not have started yet.
id, msg = rednet.receive(nil, 1)
print(id, msg)
until id == 14