mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
[Scripts] Fix crash on exit
This commit is contained in:
@@ -201,7 +201,7 @@ class PlayerbotsPlayerScript : public PlayerScript
|
||||
class PlayerbotsMiscScript : public MiscScript
|
||||
{
|
||||
public:
|
||||
PlayerbotsMiscScript() : MiscScript("PlayerbotsMiscScript") { }
|
||||
PlayerbotsMiscScript() : MiscScript("PlayerbotsMiscScript", {MISCHOOK_ON_DESTRUCT_PLAYER}) { }
|
||||
|
||||
void OnDestructPlayer(Player* player) override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user