From baa1aa9e9dcb91fb7eed19e36d1f4a321f2c1913 Mon Sep 17 00:00:00 2001 From: Yunfan Li <56597220+liyunfan1223@users.noreply.github.com> Date: Sat, 2 Aug 2025 01:15:59 +0800 Subject: [PATCH] Fix initself crash (#1488) --- src/factory/PlayerbotFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/factory/PlayerbotFactory.cpp b/src/factory/PlayerbotFactory.cpp index b43ee055..f0fa3e0a 100644 --- a/src/factory/PlayerbotFactory.cpp +++ b/src/factory/PlayerbotFactory.cpp @@ -3331,7 +3331,7 @@ void PlayerbotFactory::InitReagents() void PlayerbotFactory::InitGlyphs(bool increment) { bot->InitGlyphsForLevel(); - if (!increment && + if (!increment && botAI && botAI->GetAiObjectContext()->GetValue("custom_glyphs")->Get()) return; // // Added for custom Glyphs - custom glyphs flag test