Skip to content

Commit

Permalink
Update arknights_utils.go
Browse files Browse the repository at this point in the history
  • Loading branch information
IJNKAWAKAZE authored Jul 11, 2024
1 parent cb28d1b commit a87421a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/arknights_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ func updateData() {
if !DataNeedUpdate {
return
}
// 重置
recruitOperatorList = nil

//operators
operatorsJson := RedisGet("operatorList")
operators=nil
json.Unmarshal([]byte(operatorsJson), &operators)
operatorMap = make(map[string]Operator)
operatorTree = suffixtree.NewGeneralizedSuffixTree()
Expand Down

0 comments on commit a87421a

Please sign in to comment.