summaryrefslogtreecommitdiff
path: root/src/scripts/elua/modules/lualian.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/elua/modules/lualian.lua')
-rw-r--r--src/scripts/elua/modules/lualian.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/scripts/elua/modules/lualian.lua b/src/scripts/elua/modules/lualian.lua
index 3689939898..72c07f65aa 100644
--- a/src/scripts/elua/modules/lualian.lua
+++ b/src/scripts/elua/modules/lualian.lua
@@ -352,10 +352,9 @@ local Property = Method:clone {
352} 352}
353 353
354local Event = Node:clone { 354local Event = Node:clone {
355 __ctor = function(self, ename, etype, edesc, ecname) 355 __ctor = function(self, ename, etype, ecname)
356 self.ename = ename 356 self.ename = ename
357 self.etype = etype 357 self.etype = etype
358 self.edesc = edesc
359 self.ecname = ecname 358 self.ecname = ecname
360 end, 359 end,
361 360
@@ -647,8 +646,7 @@ local gen_contents = function(klass)
647 local evs = {} 646 local evs = {}
648 local events = klass:events_get():to_array() 647 local events = klass:events_get():to_array()
649 for i, v in ipairs(events) do 648 for i, v in ipairs(events) do
650 evs[#evs + 1] = Event(v:name_get(), v:type_get(), v:description_get(), 649 evs[#evs + 1] = Event(v:name_get(), v:type_get(), v:c_name_get())
651 v:c_name_get())
652 end 650 end
653 return cnt, evs 651 return cnt, evs
654end 652end