summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r--mbbsd/cal.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index faafe2b5..b99d89e4 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -413,6 +413,13 @@ int do_give_money(char *id, int uid, int money)
#endif
mail_redenvelop(cuser.userid, id, money - tax,
getans("要自行書寫紅包袋嗎?[y/N]"));
+ if (money < 50) {
+ usleep(2000000);
+ } else if (money < 200) {
+ usleep(500000);
+ } else {
+ usleep(100000);
+ }
return 0;
}
return -1;