You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Fix crashes in *_input functions
This commit is contained in:
@@ -1882,6 +1882,8 @@ void ProjectManager::_update_project_buttons() {
|
||||
}
|
||||
|
||||
void ProjectManager::_unhandled_key_input(const Ref<InputEvent> &p_ev) {
|
||||
ERR_FAIL_COND(p_ev.is_null());
|
||||
|
||||
Ref<InputEventKey> k = p_ev;
|
||||
|
||||
if (k.is_valid()) {
|
||||
|
||||
Reference in New Issue
Block a user