From 6553b35d4f4149e51f78d6a2161ebf299688c059 Mon Sep 17 00:00:00 2001 From: dzp Date: Wed, 13 Dec 2023 11:37:53 +0800 Subject: [PATCH] =?UTF-8?q?SQUASH:=20fix(pkuxkx):=20=E4=BF=9D=E8=AF=81=20b?= =?UTF-8?q?usy.on-idle=20=E8=A7=A6=E5=8F=91=E7=9A=84=E5=87=86=E7=A1=AE?= =?UTF-8?q?=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mud/pkuxkx/plugins/basic/busy.tin | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mud/pkuxkx/plugins/basic/busy.tin b/mud/pkuxkx/plugins/basic/busy.tin index ce3077fe..4d4f996c 100644 --- a/mud/pkuxkx/plugins/basic/busy.tin +++ b/mud/pkuxkx/plugins/basic/busy.tin @@ -87,6 +87,8 @@ VAR {正在等待的回调列表} busy.wait-list {}; }; #action {^你正忙{|ID=basic/busy}$} { + #undelay busy.on-idle; + #if { &busy.wait-list[] == 0 } { #return; }; @@ -102,6 +104,7 @@ VAR {正在等待的回调列表} busy.wait-list {}; }; #action {^你不忙{|ID=basic/busy}$} { + #undelay busy.checkbusy; #delay {busy.on-idle} {busy.on-idle} 0; #line gag; };