add missing param

This commit is contained in:
Chris Danford
2005-02-17 17:12:06 +00:00
parent 2270e62eb4
commit 669c0047ee
@@ -1,6 +1,6 @@
-- Sample options menu item.
function OptionsRowTest()
local function Set(list,pn)
local function Set(self,list,pn)
if list[1] then
Trace("FOO: 1")
end
@@ -30,7 +30,7 @@ function OptionsRowTest()
-- Set list[1] to true if Option1 should be selected, and
-- list[2] if Option2 should be selected. This will be
-- called once per enabled player.
LoadSelections = (function(list, pn) list[1] = true; end),
LoadSelections = (function(self,list,pn) list[1] = true; end),
SaveSelections = Set,
}
end