Commit 105f5745 authored by fallenstardust's avatar fallenstardust

don't respond gui event when showing or hiding dialog

parent 226d77fc
......@@ -26,6 +26,8 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
#endif
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