add missing param
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
-- Sample options menu item.
|
-- Sample options menu item.
|
||||||
function OptionsRowTest()
|
function OptionsRowTest()
|
||||||
local function Set(list,pn)
|
local function Set(self,list,pn)
|
||||||
if list[1] then
|
if list[1] then
|
||||||
Trace("FOO: 1")
|
Trace("FOO: 1")
|
||||||
end
|
end
|
||||||
@@ -30,7 +30,7 @@ function OptionsRowTest()
|
|||||||
-- Set list[1] to true if Option1 should be selected, and
|
-- Set list[1] to true if Option1 should be selected, and
|
||||||
-- list[2] if Option2 should be selected. This will be
|
-- list[2] if Option2 should be selected. This will be
|
||||||
-- called once per enabled player.
|
-- called once per enabled player.
|
||||||
LoadSelections = (function(list, pn) list[1] = true; end),
|
LoadSelections = (function(self,list,pn) list[1] = true; end),
|
||||||
SaveSelections = Set,
|
SaveSelections = Set,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user