mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-25 18:26:36 +00:00
In some conditions the events might be generated even when the `gamepad` object is not accessible due to Security Context requirements. This commit adds a check to avoid firing the handler in those cases.