Search found 2 matches
- Wed Dec 13, 2017 9:32 pm
- Forum: Resolved Problems and Bugs
- Topic: [Rseding91] [16.0] Remote calls mangle tables
- Replies: 3
- Views: 3487
Re: [Rseding91] [16.0] Remote calls mangle tables
Thank you for the quick fix
- Wed Dec 13, 2017 3:19 pm
- Forum: Resolved Problems and Bugs
- Topic: [Rseding91] [16.0] Remote calls mangle tables
- Replies: 3
- Views: 3487
[Rseding91] [16.0] Remote calls mangle tables
Table arguments to remote calls get mangled e.g. {a = 1, b = 2} -> {a = 2}.
To reproduce:
Mod with a 1 line control.lua
remote.add_interface("test", {test = function(x) game.print(serpent.block(x)) end})
In game run /c remote.call("test", "test", {a = 1, b = 2})
Expected output: {a = 1, b ...
To reproduce:
Mod with a 1 line control.lua
remote.add_interface("test", {test = function(x) game.print(serpent.block(x)) end})
In game run /c remote.call("test", "test", {a = 1, b = 2})
Expected output: {a = 1, b ...