paint: fix stages encode

This commit is contained in:
luboslenco
2026-06-09 16:08:04 +02:00
parent 04e2e42a1a
commit aa4877becf
+1 -1
View File
@@ -533,7 +533,7 @@ buffer_t *util_encode_project(project_t *raw) {
armpack_encode_string("stages");
if (raw->stages != NULL) {
armpack_encode_array(raw->stages->length);
for (i32 i = 0; i < raw->timeline_meshes->length; ++i) {
for (i32 i = 0; i < raw->stages->length; ++i) {
armpack_encode_map(3);
armpack_encode_string("name");
armpack_encode_string(raw->stages->buffer[i]->name);