优化
This commit is contained in:
parent
31ed67dbed
commit
f54d558db5
@ -125,7 +125,7 @@ func TriggerQuestProgress(q *QuestProgress, Tr *Trigger) bool {
|
|||||||
func QuestProgressToMsg(quest *QuestProgress) *msg.QuestProgress {
|
func QuestProgressToMsg(quest *QuestProgress) *msg.QuestProgress {
|
||||||
Param := 0
|
Param := 0
|
||||||
if len(quest.A) > 0 {
|
if len(quest.A) > 0 {
|
||||||
Param, _ = strconv.Atoi(quest.A[0].(string))
|
Param = GoUtil.Int(quest.A[0])
|
||||||
}
|
}
|
||||||
return &msg.QuestProgress{
|
return &msg.QuestProgress{
|
||||||
Label: quest.Label,
|
Label: quest.Label,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user