Commit 3ad9878f authored by mercury233's avatar mercury233 Committed by DailyShana

don't respond gui event when showing or hiding dialog (#2202)

parent 9edf6ab7
......@@ -20,6 +20,8 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
return false;
switch(event.EventType) {
case irr::EET_GUI_EVENT: {
if(mainGame->fadingList.size())
break;
s32 id = event.GUIEvent.Caller->getID();
switch(event.GUIEvent.EventType) {
case irr::gui::EGET_BUTTON_CLICKED: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment