Skeleton2D: Fix missing return value in comparator
This commit is contained in:
parent
24cf4fe062
commit
e349cedb6e
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Skeleton2D : public Node2D {
|
|||
|
||||
struct Bone {
|
||||
bool operator<(const Bone &p_bone) const {
|
||||
p_bone.bone->is_greater_than(bone);
|
||||
return p_bone.bone->is_greater_than(bone);
|
||||
}
|
||||
Bone2D *bone;
|
||||
Transform2D rest_inverse;
|
||||
|
|
Loading…
Reference in a new issue