fix: rename param to 'on' to avoid shadowing Node3D.show()/is_visible()

This commit is contained in:
2026-06-22 21:56:21 -04:00
parent 00141f80cb
commit c033247f75
+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(show: bool) -> void:
func _set_procedural_visible(on: 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 = show
part.visible = on
func _apply_color(col: Color) -> void:
var mat = StandardMaterial3D.new()