aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/LootHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Handlers/LootHandler.cpp')
-rw-r--r--src/server/game/Handlers/LootHandler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/game/Handlers/LootHandler.cpp b/src/server/game/Handlers/LootHandler.cpp
index ed1ed76be36..8fe3ecff2b5 100644
--- a/src/server/game/Handlers/LootHandler.cpp
+++ b/src/server/game/Handlers/LootHandler.cpp
@@ -295,10 +295,8 @@ void WorldSession::DoLootRelease(Loot* loot)
else
go->SetLootState(GO_READY);
}
- else
+ else if (go->IsFullyLooted())
go->SetLootState(GO_JUST_DEACTIVATED);
-
- loot->clear();
}
else
{