Fixed SetDefaultRank() return value.

master
Howaner 2014-09-28 19:08:33 +02:00
parent 63c53a8e23
commit 4391b3fc09
1 changed files with 1 additions and 1 deletions

View File

@ -975,7 +975,7 @@ static int tolua_cRankManager_SetDefaultRank(lua_State * L)
// Set the rank, return the result:
S.Push(cRoot::Get()->GetRankManager().SetDefaultRank(RankName));
return 0;
return 1;
}