Fixed SetDefaultRank() return value.
This commit is contained in:
parent
63c53a8e23
commit
4391b3fc09
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user