mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
Better Back Button Behavior On SDL Android
This commit is contained in:
committed by
iProgramInCpp
parent
8af9d4b0c8
commit
2356757730
@@ -546,3 +546,12 @@ std::string StartMenuScreen::getSplashString()
|
||||
|
||||
return std::string(gSplashes[m_chosenSplash]);
|
||||
}
|
||||
|
||||
bool StartMenuScreen::handleBackEvent(bool b)
|
||||
{
|
||||
if (!b)
|
||||
{
|
||||
m_pMinecraft->quit();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user