test
This commit is contained in:
parent
30a3cfffb5
commit
64ab463a92
4
msg.go
4
msg.go
@ -360,8 +360,8 @@ func parseSubTypeMessageGoQuestAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatW
|
||||
switch quest := strings.ToLower(r.ReplaceAllString(m.Text, "${Place}")); quest {
|
||||
case "forest":
|
||||
cwm.QuestTypeID64 = cacheObjSubType[`quest_forest`]
|
||||
case "montains":
|
||||
cwm.QuestTypeID64 = cacheObjSubType[`quest_montain`]
|
||||
case "mountains":
|
||||
cwm.QuestTypeID64 = cacheObjSubType[`quest_mountains`]
|
||||
default:
|
||||
log.Printf("parseSubTypeMessageGoQuestAck : no reference for quest `%s`\n", quest)
|
||||
cwm.QuestTypeID64 = cacheObjSubType[`quest_forest`]
|
||||
|
Loading…
Reference in New Issue
Block a user