detomon / wigglebone

Adds jiggle physics to bones of a Skeleton
Other
296 stars 11 forks source link

Function argument variable name matches variable name in class #8

Closed lleblanc42 closed 7 months ago

lleblanc42 commented 7 months ago

Godot version

v4.1.3.stable

Issue description

The argument for he function accelerate in wiggle_bone.gd on line 270 uses the same variable name ('a') as what already exists within the class. Renaming the variable for the function argument would resolve the warning.

Steps to reproduce

Install and enable the plugin into Godot 4.1.3, include the node on a skeleton and start the game. Game runs, but warnings are thrown.

lleblanc42 commented 7 months ago

@detomon When can I expect a new version tag to be created with the patches?

detomon commented 7 months ago

Done: v2.0.2