Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InputMap.action_has_event regression/bug (return false when it shouldn't) #52733

Closed
EIREXE opened this issue Sep 16, 2021 · 2 comments
Closed

Comments

@EIREXE
Copy link
Contributor

EIREXE commented Sep 16, 2021

Godot version

4317d3a

System information

Windows 11 and Arch

Issue description

InputMap.action_has_event is supposed to return true if an action has a matched event, recently it returns false when it used to return true.

I believe it might have been caused by 0e5c6e0

Steps to reproduce

extends Node

func _ready():
	var actions = InputMap.get_action_list("test")
	print(InputMap.action_has_event("test", actions[0]))

Minimal reproduction project

InputMapBug.zip

@EricEzaM
Copy link
Contributor

Caused by the backport of the commit you noted: #50874

@Calinou Calinou added this to the 3.4 milestone Sep 16, 2021
EIREXE added a commit to EIRTeam/shinobu that referenced this issue Sep 17, 2021
EIREXE added a commit to EIRTeam/shinobu that referenced this issue Sep 17, 2021
@akien-mga
Copy link
Member

Fixed by #52737.

sairam4123 pushed a commit to sairam4123/godot that referenced this issue Nov 10, 2021
lekoder pushed a commit to KoderaSoftwareUnlimited/godot that referenced this issue Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants