Merge with menu_navi

--HG--
branch : yubo
hg/yubo
Inky 6 years ago
commit 098df688b9

@ -4614,8 +4614,10 @@ class CHandlerCharselNaviGetKeys : public IActionHandler
{ {
virtual void execute (CCtrlBase *pCaller, const string &Params) virtual void execute (CCtrlBase *pCaller, const string &Params)
{ {
const std::string ui = pCaller->getParent()->getId(); if (!pCaller->getParent())
if (ui != "ui:outgame") return;
if (pCaller->getParent()->getId() != "ui:outgame")
return; return;
if (Params.empty()) if (Params.empty())

Loading…
Cancel
Save