increase the minimum waiting time for the transmission panel delay to 300 milliseconds

增加传送面板延迟的最小等待时间至 300 毫秒

将 `time` 的最小值从 100 毫秒增加到 300 毫秒。这意味着在等待传送面板延迟时,最小等待时间从 100 毫秒变为 300 毫秒。
This commit is contained in:
辉鸭蛋
2024-10-06 14:50:53 +08:00
parent b1f6c062fb
commit a2f877c455

View File

@@ -440,7 +440,7 @@ public class TpTask(CancellationTokenSource cts)
if (hasMapChooseIcon)
{
var time = TaskContext.Instance().Config.QuickTeleportConfig.WaitTeleportPanelDelay;
time = time < 100 ? 100 : time;
time = time < 300 ? 300 : time;
await Delay(time, cts);
if (!CheckTeleportButton(CaptureToRectArea()))
{