From 41ff457e5fbe09240b8cd33abe432ff4f6b77292 Mon Sep 17 00:00:00 2001 From: dzp Date: Tue, 12 Dec 2023 18:20:56 +0800 Subject: [PATCH] =?UTF-8?q?SQUASH:=20feat(pkuxkx):=20ask=20=E6=9C=BA?= =?UTF-8?q?=E5=99=A8=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mud/pkuxkx/plugins/basic/cmds/ask.tin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mud/pkuxkx/plugins/basic/cmds/ask.tin b/mud/pkuxkx/plugins/basic/cmds/ask.tin index 11aff33b..2fc73b4d 100644 --- a/mud/pkuxkx/plugins/basic/cmds/ask.tin +++ b/mud/pkuxkx/plugins/basic/cmds/ask.tin @@ -83,6 +83,6 @@ VAR {上次 ask 的时间} ask.lastTime {0}; #delay ask.loop.retry {ask.loop.do} {@math.Eval{$ask.CD * 4}}; }; - #local delay {@math.Min{0; @math.Eval{$ask.lastTime + $ask.CD - @time.Now{}}}}; + #local delay {@math.Max{0; @math.Eval{$ask.lastTime + $ask.CD - @time.Now{}}}}; #delay ask.loop.next {sync.Wait ask.loop.do} $delay; };