Anyone getting a bug where if they use the item name say "lock.code" (anything with a . in it) then it appears as(3) being the amountCode:"lock": { "code": 3 }
what it looks like:
What it's meant to look like in JSON:Code:{ ["lock.code"] = 3, ["apple"] = 5, ["can.tuna"] = 3 }
[DOUBLEPOST=1439565911,1439526034][/DOUBLEPOST]Bump, anyone?Code:{ "lock.code": 3, "apple": 5, "can.tuna": 3 }
Lua json bug
Discussion in 'Rust Development' started by Norn, Aug 14, 2015.
-
Lua uses "." as path seperator for tables, so every string containing dots will be split up, try to not use it as key or replace the dots...
-
-
Wulf Community Admin
-
-
Wulf Community Admin
-