mirror of
https://github.com/motajs/template.git
synced 2026-10-29 12:20:17 +08:00
fix: 录像存档没有深拷贝
This commit is contained in:
parent
f0fd63cda1
commit
e21c31d4e5
@ -98,8 +98,8 @@ export class ReplaySystem
|
||||
return {
|
||||
length: this.array.length,
|
||||
commandWidth: this.array.commandWidth,
|
||||
commandArray: this.array.getCommandArray(),
|
||||
paramArray: this.array.getParamArray()
|
||||
commandArray: this.array.getCommandArray().slice(),
|
||||
paramArray: this.array.getParamArray().slice()
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user