diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 549cc19cb1..05b4f181c2 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -2799,7 +2799,7 @@ void Viewport::push_unhandled_input(const Ref &p_event, bool p_local } // Shortcut Input. - if (Object::cast_to(*ev) != nullptr || Object::cast_to(*ev) != nullptr) { + if (Object::cast_to(*ev) != nullptr || Object::cast_to(*ev) != nullptr || Object::cast_to(*ev) != nullptr) { get_tree()->_call_input_pause(shortcut_input_group, SceneTree::CALL_INPUT_TYPE_SHORTCUT_INPUT, ev, this); }