fix ParticlesPreset.serialize

This commit is contained in:
MihailRis 2024-11-06 20:29:59 +03:00
parent fdbe8ca9c6
commit 76d6b518a5

View File

@ -26,7 +26,7 @@ dv::value ParticlesPreset::serialize() const {
if (frames.empty()) {
root["texture"] = texture;
} else {
auto& arr = root.list("animation");
auto& arr = root.list("frames");
for (const auto& frame : frames) {
arr.add(frame);
}