Skip to content

Commit

Permalink
Fixed SetDefaultRank() return value.
Browse files Browse the repository at this point in the history
  • Loading branch information
Howaner committed Sep 28, 2014
1 parent 63c53a8 commit 4391b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bindings/ManualBindings_RankManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down

0 comments on commit 4391b3f

Please sign in to comment.