1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

bug-fixin'

This commit is contained in:
Perttu Ahola 2011-02-08 01:12:55 +02:00
parent 25a7fabed8
commit dd9e82f5bc
24 changed files with 347 additions and 178 deletions

View file

@ -193,15 +193,16 @@ bool GUIPauseMenu::OnEvent(const SEvent& event)
{
case 256: // continue
quitMenu();
break;
// ALWAYS return immediately after quitMenu()
return true;
case 260: // disconnect
m_gamecallback->disconnect();
quitMenu();
break;
return true;
case 257: // exit
m_gamecallback->exitToOS();
quitMenu();
break;
return true;
}
}
}