mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
fix ParticlesPreset.serialize
This commit is contained in:
parent
fdbe8ca9c6
commit
76d6b518a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue