wfapi 锁问题修复,设置TLS请求为1.2 (#663)

Co-authored-by: GenesisAN <501946815@qq.com>
This commit is contained in:
GenesisAN
2023-04-12 14:02:49 +08:00
committed by GitHub
parent 3e15754031
commit c5c63d0b64
2 changed files with 14 additions and 2 deletions

View File

@@ -81,6 +81,9 @@ func (w *world) refresh(api *wfapi) {
w.w[2].NextTime = api.CambionCycle.Expiry.Local()
w.w[2].IsDay = api.CambionCycle.Active == "fass"
for _, t := range w.w {
t.Unlock()
}
}
// 游戏时间更新