💬

Community answer

Collected from the ACE community Discord archive around 2019-01-13. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

net.receive callback timing

🌙 LuaUpdated 2 days ago•0 views
The receive callback runs later when the message actually arrives - code after net.receive() executes before received is populated; read data inside the callbac…

Why is my variable nil right after net.receive setup

The receive callback runs later when the message actually arrives - code after net.receive() executes before received is populated; read data inside the callback, not after it.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.