Skip to content

Commit

Permalink
fix(LuaEngine/CreatureMethods): reputation rewards refactored by AC
Browse files Browse the repository at this point in the history
  • Loading branch information
petomalina committed Feb 2, 2025
1 parent dee3a1a commit 48a7d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LuaEngine/methods/CreatureMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace LuaCreature
*/
int IsReputationGainDisabled(lua_State* L, Creature* creature)
{
Eluna::Push(L, creature->IsReputationGainDisabled());
Eluna::Push(L, creature->IsReputationRewardDisabled());
return 1;
}

Expand Down Expand Up @@ -984,7 +984,7 @@ namespace LuaCreature
{
bool disable = Eluna::CHECKVAL<bool>(L, 2, true);

creature->SetDisableReputationGain(disable);
creature->SetReputationRewardDisabled(disable);
return 0;
}

Expand Down

0 comments on commit 48a7d10

Please sign in to comment.