Opened 6 years ago

Closed 6 years ago

#1054 closed defect (fixed)

dof nil error

Reported by: Bluestone Owned by:
Priority: minor Milestone:
Component: BAR Version:
Keywords: Cc:

Description

[f=0005103] [bawidgets.lua] Error: Error in Initialize(): [string "LuaUI/Widgets/camera_dof.lua"]:275: attempt to call field 'AddOption' (a nil value)

Change History (3)

comment:1 by beherith, 6 years ago

Shouldnt AddOption be AddControl instead?

comment:2 by Bluestone, 6 years ago

I must have missed it when I changed the main menu options format - a few other things need to change as well

It's actually AddWidgetOption, now http://imolarpg.dyndns.org/trac/balatest/browser/branches/BAR/luaui/widgets/api_main_menu.lua#L886

Last edited 6 years ago by Bluestone (previous) (diff)

comment:3 by Bluestone, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.