From 3f58cbd0779ab97dc688a5481d872ca2f00e9468 Mon Sep 17 00:00:00 2001 From: "ulukyn@gmail.com" Date: Wed, 14 Dec 2016 22:24:49 +0100 Subject: [PATCH] Fixed: Load Scenographic Editor lua files --HG-- branch : compatibility-develop --- code/ryzom/client/data/gamedev/interfaces_v3/sceneedit.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/sceneedit.lua b/code/ryzom/client/data/gamedev/interfaces_v3/sceneedit.lua index 8f907808a..e0285da86 100644 --- a/code/ryzom/client/data/gamedev/interfaces_v3/sceneedit.lua +++ b/code/ryzom/client/data/gamedev/interfaces_v3/sceneedit.lua @@ -1,5 +1,3 @@ -json = dofile("user/json.lua") - --- Parse interface of ark_scene_editor_edit_menu --- local script = [[ @@ -375,7 +373,7 @@ function SceneEditor:editGroup(group) end function SceneEditor:addFromDb(group, db_id, json_shape) - shape = json.decode(json_shape) + shape = Json.decode(json_shape) shape.db_id = db_id shape.group = group @@ -563,7 +561,7 @@ function SceneEditor:get_html(message, message_bg) text_color = "55aa55" end end - shapes_html = shapes_html .. " "..'#'..(shape.db_id or '0').." "..shape.file.."\ + shapes_html = shapes_html .. " "..'#'..(shape.db_id or '0').." "..shape.file.."\ \ " end