From 9f996dc14ecfa77962baedba88d0903551ad2535 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 3 Sep 2005 23:43:16 +0000 Subject: [PATCH] SaveMachineProfile returns no values --- stepmania/src/ProfileManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ProfileManager.cpp b/stepmania/src/ProfileManager.cpp index d9c9b5fe6c..2efe5009a3 100644 --- a/stepmania/src/ProfileManager.cpp +++ b/stepmania/src/ProfileManager.cpp @@ -792,7 +792,7 @@ public: static int IsPersistentProfile( T* p, lua_State *L ) { lua_pushboolean(L, p->IsPersistentProfile((PlayerNumber)IArg(1)) ); return 1; } static int GetProfile( T* p, lua_State *L ) { PlayerNumber pn = (PlayerNumber)IArg(1); Profile* pP = p->GetProfile(pn); ASSERT(pP); pP->PushSelf(L); return 1; } static int GetMachineProfile( T* p, lua_State *L ) { p->GetMachineProfile()->PushSelf(L); return 1; } - static int SaveMachineProfile( T* p, lua_State *L ) { p->SaveMachineProfile(); return 1; } + static int SaveMachineProfile( T* p, lua_State *L ) { p->SaveMachineProfile(); return 0; } static int GetLocalProfile( T* p, lua_State *L ) { Profile *pProfile = p->GetLocalProfile(SArg(1));