Skip to content

Commit

Permalink
Fix invalid avatar validator function
Browse files Browse the repository at this point in the history
  • Loading branch information
SaracenOne committed Dec 9, 2021
1 parent b80a31c commit 8bbfdba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsk_avatar_validator.gd
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func is_script_valid_for_resource(p_script: Script):
return false

func is_node_type_valid(p_node : Node, p_child_of_canvas: bool) -> bool:
if is_node_type_string_valid(p_node, p_child_of_canvas):
if is_node_type_string_valid(p_node.get_class(), p_child_of_canvas):
if !is_editor_only(p_node):
return true
return false
Expand Down

0 comments on commit 8bbfdba

Please sign in to comment.