summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--editor/inspect-types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/inspect-types.cpp b/editor/inspect-types.cpp
index 49041649..07b18970 100644
--- a/editor/inspect-types.cpp
+++ b/editor/inspect-types.cpp
@@ -33,7 +33,7 @@ struct entity_accessors<scenery_ref> {
},
entity::type<rotation>::field{"rotation"_s,
[](const scenery_ref& x) { return x.frame.r; },
- [](scenery_ref& x, rotation r) { x.frame.r = r; },
+ [](scenery_ref& x, rotation r) { x.rotate(r); },
},
entity::type<scenery::frame_t>::field{"frame"_s,
[](const scenery_ref& x) { return x.frame.frame; },