Skip to content

Commit

Permalink
SQUASH: fix(pkuxkx): 保证 busy.on-idle 触发的准确率
Browse files Browse the repository at this point in the history
  • Loading branch information
dzpao committed Dec 13, 2023
1 parent bec5f5f commit 6553b35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mud/pkuxkx/plugins/basic/busy.tin
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ VAR {正在等待的回调列表} busy.wait-list {};
};

#action {^你正忙{|ID=basic/busy}$} {
#undelay busy.on-idle;

#if { &busy.wait-list[] == 0 } {
#return;
};
Expand All @@ -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;
};

0 comments on commit 6553b35

Please sign in to comment.