From 98e59a4427c6683a77c32d2969024357bfc03ef1 Mon Sep 17 00:00:00 2001 From: kuangshen04 <2832899707@qq.com> Date: Sun, 8 Oct 2023 15:27:41 +0800 Subject: [PATCH] fix --- game/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/game.js b/game/game.js index 9bc3a9ab5..d6ec3eb17 100644 --- a/game/game.js +++ b/game/game.js @@ -8487,7 +8487,7 @@ enumerable:false, writable:true, value:function(){ - for(const i of arguments) this.add(...i); + for(const i of Array.from(arguments)) this.add(...i); return this; } }); @@ -8509,7 +8509,7 @@ enumerable:false, writable:true, value:function(){ - for(const i of arguments) this.add(...i); + for(const i of Array.from(arguments)) this.remove(...i); } }); Object.defineProperty(Array.prototype,"unique",{