diff options
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp index dad8f1712..9d4c13325 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -2504,6 +2504,7 @@ void Server::DiePlayer(session_t peer_id, const PlayerHPChangeReason &reason) << " dies" << std::endl; playersao->setHP(0, reason); + playersao->clearParentAttachment(); // Trigger scripted stuff m_script->on_dieplayer(playersao, reason); |