return to normal

This commit is contained in:
shoopea 2020-04-18 21:58:25 +08:00
parent 4300638b90
commit 373207c4d6

22
obj.go
View File

@ -69,17 +69,17 @@ func initCache(initDB bool) {
err = loadObjJob()
logOnError(err, "initCache : caching jobs")
//if initDB {
_, _ = addObjCastle(`🦌`, `Deerhorn`)
_, _ = addObjCastle(`🐉`, `Dragonscale`)
_, _ = addObjCastle(`🦅`, `Highnest`)
_, _ = addObjCastle(`🌑`, `Moonlight`)
_, _ = addObjCastle(`🥔`, `Potato`)
_, _ = addObjCastle(`🦈`, `Sharkteeth`)
_, _ = addObjCastle(`🐺`, `Wolfpack`)
_, _ = addObjCastle(``, `Unknown`)
_, _ = addObjGuild(``, `No Guild`)
//}
if initDB {
_, _ = addObjCastle(`🦌`, `Deerhorn`)
_, _ = addObjCastle(`🐉`, `Dragonscale`)
_, _ = addObjCastle(`🦅`, `Highnest`)
_, _ = addObjCastle(`🌑`, `Moonlight`)
_, _ = addObjCastle(`🥔`, `Potato`)
_, _ = addObjCastle(`🦈`, `Sharkteeth`)
_, _ = addObjCastle(`🐺`, `Wolfpack`)
_, _ = addObjCastle(``, `Unknown`)
_, _ = addObjGuild(``, `No Guild`)
}
log.Println("Caching castles ..")
err = loadObjCastle()