diff options
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r-- | src/net/eathena/partyhandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp index 86b9f6b2e..542ebd4df 100644 --- a/src/net/eathena/partyhandler.cpp +++ b/src/net/eathena/partyhandler.cpp @@ -176,6 +176,8 @@ void PartyHandler::setShareItems(const PartyShareT share) const void PartyHandler::changeLeader(const std::string &name) const { + if (actorManager == nullptr) + return; const Being *const being = actorManager->findBeingByName( name, ActorType::Player); if (being == nullptr) |