rename Profile(pn) to GetPlayerOrMachineProfile(pn) so that the Profile class will show up in Lua.xml

This commit is contained in:
AJ Kelly
2011-06-06 17:57:53 -05:00
parent cb38eae9ba
commit 4d4b441492
@@ -224,10 +224,10 @@ end;
--[[ ----------------------------------------------------------------------- ]]
--[[ profile stuff ]]
-- Profile(pn)
-- GetPlayerOrMachineProfile(pn)
-- This returns a profile, preferably a player one.
-- If there isn't one, we fall back on the machine profile.
function Profile(pn)
function GetPlayerOrMachineProfile(pn)
if PROFILEMAN:IsPersistentProfile(pn) then
-- player profile
return PROFILEMAN:GetProfile(pn);