summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/skeleton_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/skeleton_2d.h b/scene/2d/skeleton_2d.h
index 791af57bdf..49199f684f 100644
--- a/scene/2d/skeleton_2d.h
+++ b/scene/2d/skeleton_2d.h
@@ -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;