From dd64a49dd6bb6f0468a2b1cd67f823b278420aad Mon Sep 17 00:00:00 2001 From: NguyenVanDat Date: Sat, 13 Dec 2025 16:10:21 +0700 Subject: [PATCH] check null shortcut --- Assets/PerfectWorld/Scripts/Task/UI/EmoteWindow.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/PerfectWorld/Scripts/Task/UI/EmoteWindow.cs b/Assets/PerfectWorld/Scripts/Task/UI/EmoteWindow.cs index 3ff584af2d..d50eb53ae5 100644 --- a/Assets/PerfectWorld/Scripts/Task/UI/EmoteWindow.cs +++ b/Assets/PerfectWorld/Scripts/Task/UI/EmoteWindow.cs @@ -87,6 +87,10 @@ namespace BrewMonster.UI // if (bInAutoMode) return; //todo: dummy call StartGame // EC_Game.GetGameRun().StartGame(0, Vector3.zero); + if (EC_Game.GetGameRun().GetPoseCmdShortcuts() == null) + { + EC_Game.GetGameRun().StartGame(0, Vector3.zero); + } CECShortcut pSC = EC_Game.GetGameRun().GetPoseCmdShortcuts().GetShortcut(slot); // if (CDlgAutoHelp::IsAutoHelp() && strstr(pDlgSrc->GetName(), "Win_Quickbar")) // {