net.receive callback timing
🌙 Lua•Updated 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.