summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/inspect-types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/inspect-types.cpp b/editor/inspect-types.cpp
index 849dcfa3..6bf87f49 100644
--- a/editor/inspect-types.cpp
+++ b/editor/inspect-types.cpp
@@ -173,6 +173,7 @@ struct entity_accessors<character> {
E::type<bool>::field{"playable"_s,
[](const character& x) { return x.playable; },
[](character& x, bool value) { x.playable = value; },
+ constantly(constraints::max_length{128}),
},
};
return std::tuple_cat(tuple0, tuple);