From 0d68c26f86631099525d294ae90d2a576745c115 Mon Sep 17 00:00:00 2001 From: Rintim Date: Tue, 5 Sep 2023 00:09:32 +0800 Subject: [PATCH] add one transform to make no one can modify origin genCoroutine. --- game/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/game.js b/game/game.js index 32b0edcff..90762f505 100644 --- a/game/game.js +++ b/game/game.js @@ -7153,8 +7153,8 @@ '无名杀 - 录像 - '+_status.videoToSave.name[0]+' - '+_status.videoToSave.name[1]); } }, - genAsync:genAsync, - genAwait:genAwait, + genAsync:fn=>genAsync(fn), + genAwait:gen=>genAwait(gen), init:{ init:function(){ if(typeof __dirname==='string'&&__dirname.length){