mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-18 15:26:19 +08:00
Fix MolangJS order of operation issue on some expressions
Fix issue with animation file saving order
This commit is contained in:
parent
771428c1ae
commit
32b402ccee
@ -312,7 +312,7 @@ class Animation {
|
||||
if (data) {
|
||||
let animation = content.animations[this.name];
|
||||
content = data;
|
||||
if (this.saved_name) delete content.animations[this.saved_name];
|
||||
if (this.saved_name && this.saved_name !== this.name) delete content.animations[this.saved_name];
|
||||
content.animations[this.name] = animation;
|
||||
|
||||
// Sort
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user