From 8c7ee6601122d0546b9506a8c1dd765363198062 Mon Sep 17 00:00:00 2001 From: kuangshen04 <2832899707@qq.com> Date: Tue, 5 Mar 2024 19:53:06 +0800 Subject: [PATCH] bugfix --- noname/game/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/noname/game/index.js b/noname/game/index.js index ae472c2f2..a6856e3ec 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -5926,8 +5926,9 @@ export class Game extends Uninstantable { }); } + ok = ok && (!event.filterOk || event.filterOk()); let confirm = ''; - if (ok && (!event.filterOk || event.filterOk())) confirm += 'o'; + if (ok) confirm += 'o'; if (!event.forced && !event.fakeforce && get.noSelected()) confirm += 'c'; if (event.isMine()) game.Check.confirm(event, confirm);