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 {
|
switch quest := strings.ToLower(r.ReplaceAllString(m.Text, "${Place}")); quest {
|
||||||
case "forest":
|
case "forest":
|
||||||
cwm.QuestTypeID64 = cacheObjSubType[`quest_forest`]
|
cwm.QuestTypeID64 = cacheObjSubType[`quest_forest`]
|
||||||
case "montains":
|
case "mountains":
|
||||||
cwm.QuestTypeID64 = cacheObjSubType[`quest_montain`]
|
cwm.QuestTypeID64 = cacheObjSubType[`quest_mountains`]
|
||||||
default:
|
default:
|
||||||
log.Printf("parseSubTypeMessageGoQuestAck : no reference for quest `%s`\n", quest)
|
log.Printf("parseSubTypeMessageGoQuestAck : no reference for quest `%s`\n", quest)
|
||||||
cwm.QuestTypeID64 = cacheObjSubType[`quest_forest`]
|
cwm.QuestTypeID64 = cacheObjSubType[`quest_forest`]
|
||||||
|
Loading…
Reference in New Issue
Block a user