fix: rename shadowed 'visible' param, prefix unused 'impulse' with underscore

This commit is contained in:
2026-06-22 20:34:02 -04:00
parent a1f48d9ef0
commit ade3d54d20
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -192,10 +192,10 @@ func apply_skin(skin: PlayerSkin) -> void:
skin_model = null
_apply_color(skin.color_tint)
func _set_procedural_visible(visible: bool) -> void:
func _set_procedural_visible(is_visible: bool) -> void:
for part in [torso, head, upper_arm_l, lower_arm_l, upper_arm_r, lower_arm_r, thigh_l, calf_l, thigh_r, calf_r]:
if part:
part.visible = visible
part.visible = is_visible
func _apply_color(col: Color) -> void:
var mat = StandardMaterial3D.new()