You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
[3.x] Fix crashes when using _input functions
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "scene/main/viewport.h"
|
||||
|
||||
void MenuButton::_unhandled_key_input(Ref<InputEvent> p_event) {
|
||||
ERR_FAIL_COND(p_event.is_null());
|
||||
|
||||
if (disable_shortcuts)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user