This commit is contained in:
shoopea 2020-01-12 21:22:35 +08:00
parent 81d24694a8
commit 0e777c55b5

9
obj.go
View File

@ -905,7 +905,14 @@ func getSilentObjItemID(code string, name string) int64 {
} }
func loadObjItem2() error { func loadObjItem2() error {
var items []ChatWarsItem var (
id int64
type_id int64
intl_id string
name string
weight int64
items []ChatWarsItem
)
muxObjItem.Lock() muxObjItem.Lock()
defer muxObjItem.Unlock() defer muxObjItem.Unlock()