From 4d4b441492f47f774c16839eba83ff2430171088 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Mon, 6 Jun 2011 17:57:53 -0500 Subject: [PATCH] rename Profile(pn) to GetPlayerOrMachineProfile(pn) so that the Profile class will show up in Lua.xml --- Themes/_fallback/Scripts/03 ProductivityHelpers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Themes/_fallback/Scripts/03 ProductivityHelpers.lua b/Themes/_fallback/Scripts/03 ProductivityHelpers.lua index eb2d64bb9d..0d9fbd2816 100644 --- a/Themes/_fallback/Scripts/03 ProductivityHelpers.lua +++ b/Themes/_fallback/Scripts/03 ProductivityHelpers.lua @@ -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);