Skip to content

Commit

Permalink
Fix magic level update after wearing items (otland#3945)
Browse files Browse the repository at this point in the history
This reverts commit c1420c1.

(cherry picked from commit 7753f41)
  • Loading branch information
ArturKnopik authored and Codinablack committed Apr 5, 2022
1 parent 0a65460 commit 09fede1
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 @@ -808,6 +808,7 @@ ReturnValue MoveEvent::EquipItem(MoveEvent* moveEvent, Player* player, Item* ite

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

return RETURNVALUE_NOERROR;
Expand Down Expand Up @@ -890,6 +891,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 09fede1

Please sign in to comment.