mirror of
https://github.com/motajs/template.git
synced 2026-11-01 06:04:30 +08:00
fix: 录像存档没有深拷贝
This commit is contained in:
1 parent
f0fd63cda1
commit
e21c31d4e5
1 file changed
+2
-2
@@ -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()
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user