mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Change exit keybinding and fix bug in allow_close[]
This commit is contained in:
@@ -151,7 +151,7 @@ bool MyEventReceiver::OnEvent(const SEvent &event)
|
||||
fullscreen_is_down = event.KeyInput.PressedDown;
|
||||
return true;
|
||||
} else if (keyCode == EscapeKey &&
|
||||
event.KeyInput.PressedDown && event.KeyInput.Control) {
|
||||
event.KeyInput.PressedDown && event.KeyInput.Shift) {
|
||||
g_gamecallback->disconnect();
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user