1
0
Fork 0

Fixed SetDefaultRank() return value.

This commit is contained in:
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;
}