*Fix array override

This commit is contained in:
Derrick Hammer 2022-08-03 11:50:13 -04:00
parent 14f3770bf7
commit 91896daff1
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ export class RpcNetwork {
if (array.includes(item)) {
let queue = new Set(array);
queue.delete(item);
array = [...queue];
[].splice.apply(array, [0, array.length].concat([...queue]));
}
}