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