summaryrefslogtreecommitdiffstats
path: root/src/UI
diff options
context:
space:
mode:
Diffstat (limited to 'src/UI')
-rw-r--r--src/UI/SlotArea.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp
index e7a6b4407..84e6efb77 100644
--- a/src/UI/SlotArea.cpp
+++ b/src/UI/SlotArea.cpp
@@ -1590,8 +1590,8 @@ void cSlotAreaEnchanting::OnPlayerAdded(cPlayer & a_Player)
void cSlotAreaEnchanting::OnPlayerRemoved(cPlayer & a_Player)
{
- // Toss the item in the enchanting slot
- TossItems(a_Player, 0, 1);
+ // Toss the item in the enchanting slot, as well as lapis
+ TossItems(a_Player, 0, m_NumSlots);
super::OnPlayerRemoved(a_Player);
}