mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
Big leap for key rebinding and crossplatform-ness.
This commit is contained in:
@@ -60,7 +60,7 @@ void ChatScreen::render(int mouseX, int mouseY, float f)
|
||||
|
||||
void ChatScreen::keyPressed(int keyCode)
|
||||
{
|
||||
if (keyCode == AKEYCODE_ENTER)
|
||||
if (m_pMinecraft->m_options.isKey(KM_MENU_OK, keyCode))
|
||||
sendMessageAndExit();
|
||||
|
||||
Screen::keyPressed(keyCode);
|
||||
|
||||
Reference in New Issue
Block a user