Describe the bug
Sending nil (or null, which LUA will look up as a variable and return nil) is not sent when using package_send
To Reproduce
Steps to reproduce the behavior:
- Execute
package_send("Package-test", null, false, null, "23", nil, 11). Package receives (false, "23", 11).
Expected behavior
nil should be converted to JS null. Use of null in LUA code can be talked about. Discord uses nil/null to leave a channel.
Environment (please complete the following information):
- OS: All
- Editor version: Latest stable
Additional context
Latest nightly firmware
Describe the bug
Sending nil (or null, which LUA will look up as a variable and return nil) is not sent when using package_send
To Reproduce
Steps to reproduce the behavior:
package_send("Package-test", null, false, null, "23", nil, 11). Package receives (false, "23", 11).Expected behavior
nilshould be converted to JSnull. Use ofnullin LUA code can be talked about. Discord uses nil/null to leave a channel.Environment (please complete the following information):
Additional context
Latest nightly firmware