check null shortcut
This commit is contained in:
@@ -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"))
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user