From 8fc66a4af486f45edfd8ab6dad3bd8fa869b6a63 Mon Sep 17 00:00:00 2001 From: ulukyn Date: Wed, 14 Dec 2016 16:14:33 +0100 Subject: [PATCH] Fixed: Load Scenographic Editor lua files --- code/ryzom/client/data/gamedev/interfaces_v3/json.lua | 7 ++----- .../client/data/gamedev/interfaces_v3/webig_widgets.xml | 4 +++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/json.lua b/code/ryzom/client/data/gamedev/interfaces_v3/json.lua index 66d473ec0..9f5ac6e05 100644 --- a/code/ryzom/client/data/gamedev/interfaces_v3/json.lua +++ b/code/ryzom/client/data/gamedev/interfaces_v3/json.lua @@ -7,7 +7,7 @@ -- under the terms of the MIT license. See LICENSE for details. -- -local json = { _version = "0.1.0" } +Json = { _version = "0.1.0" } ------------------------------------------------------------------------------- -- Encode @@ -368,12 +368,9 @@ parse = function(str, idx) end -function json.decode(str) +function Json.decode(str) if type(str) ~= "string" then error("expected argument of type string, got " .. type(str)) end return ( parse(str, next_char(str, 1, space_chars, true)) ) end - - -return json diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/webig_widgets.xml b/code/ryzom/client/data/gamedev/interfaces_v3/webig_widgets.xml index 3c1470485..e69ebe8a1 100644 --- a/code/ryzom/client/data/gamedev/interfaces_v3/webig_widgets.xml +++ b/code/ryzom/client/data/gamedev/interfaces_v3/webig_widgets.xml @@ -4,7 +4,9 @@ - + + +