Skip to content

Commit

Permalink
Fix magic level update after wearing items (#3945)
Browse files Browse the repository at this point in the history
This reverts commit c1420c1.
  • Loading branch information
ArturKnopik committed Feb 15, 2022
1 parent b61accf commit 7753f41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/movement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@ ReturnValue MoveEvent::EquipItem(MoveEvent* moveEvent, Player* player, Item* ite

if (needUpdateStats) {
player->sendStats();
player->sendSkills();
}

return RETURNVALUE_NOERROR;
Expand Down Expand Up @@ -918,6 +919,7 @@ ReturnValue MoveEvent::DeEquipItem(MoveEvent*, Player* player, Item* item, slots

if (needUpdateStats) {
player->sendStats();
player->sendSkills();
}

return RETURNVALUE_NOERROR;
Expand Down

0 comments on commit 7753f41

Please sign in to comment.