This commit is contained in:
lxk0301
2020-12-15 11:11:28 +08:00
parent ec5273cb06
commit 8d74e7157d
7 changed files with 37 additions and 24 deletions

View File

@@ -347,7 +347,8 @@ function hireAward(date, type = 0) {
})
}
async function helpFriends() {
if ($.canHelpFlag) {
let Hours = new Date(new Date().getTime() + new Date().getTimezoneOffset()*60*1000 + 8*60*60*1000).getHours();
if ($.canHelpFlag && Hours >= 6) {
await shareCodesFormat();
for (let code of $.newShareCodes) {
if (code) {