-
-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Ran into an odd bug where I couldn't get multiple health actions to apply.
Then found this issue explaining the .all behaivor: godotengine/godot#88250
Problem line example: https://github.com/cluttered-code/godot-health-hitbox-hurtbox/blob/main/addons/health_hitbox_hurtbox/health/health.gd#L132
Changing health.gd's apply_modified_action function to return true in all cases, fixes the iteration or by replacing array.all with a for in loop.
I recommend fixing both uses of .all in health script.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working