修改bug

This commit is contained in:
Caiyanpeng committed 2022-04-02 18:15:09 +08:00
1 parent 30e09c9c7a
commit 0a4925bb39
5 files changed
+19 -14

No files matched your search

@@ -98,6 +98,12 @@ public class RowerTaskPanel : PFUIPanel
Utils.showToast(null, "Minimum mileage is 100M.", isOnly: true);
return;
}
if (rowerType.type == 2 && rowerType.value < 20)
{
Utils.showToast(null, "Minimum time is 20s.", isOnly: true);
return;
}
if (callBack != null)
{
callBack.Invoke(rowerType);