diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-01-11 13:47:59 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-01-11 13:52:26 -0500 |
commit | a9df87ede06f8f0f69e3481cf58f6d59d3f9ebbf (patch) | |
tree | 15bdf93980a6cf02ee661dbd139543b5763d5b5b /src/script/lua_api | |
parent | bd8ddf1a526c57648028bbee192d92e1289219ac (diff) | |
download | minetest-a9df87ede06f8f0f69e3481cf58f6d59d3f9ebbf.tar.gz minetest-a9df87ede06f8f0f69e3481cf58f6d59d3f9ebbf.tar.bz2 minetest-a9df87ede06f8f0f69e3481cf58f6d59d3f9ebbf.zip |
Rename get_json_value to read_json_value
Diffstat (limited to 'src/script/lua_api')
-rw-r--r-- | src/script/lua_api/l_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_util.cpp b/src/script/lua_api/l_util.cpp index f9ec94db4..f2bbf181d 100644 --- a/src/script/lua_api/l_util.cpp +++ b/src/script/lua_api/l_util.cpp @@ -192,7 +192,7 @@ int ModApiUtil::l_write_json(lua_State *L) Json::Value root; try { - get_json_value(L, root, 1); + read_json_value(L, root, 1); } catch (SerializationError &e) { lua_pushnil(L); lua_pushstring(L, e.what()); |