forked from Sphereserver/Source-X
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deleting a player while it's in a guild cause the server to crash. (I…
…ssue Sphereserver#971). When a player is deleted, the ClearPlayer method is called before the character destructor, in this method the m_pPlayer property is set to null and this cause the Guild_Resign method (found in the character destructor) to fail and not deleting the player from the guild. So i just moved the Guild_Resign method from the destructor to the ClearPlayer method.
- Loading branch information
Showing
2 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters