Skip to content

Commit

Permalink
fix EnumerateQuest rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sekaiwish committed Jan 16, 2024
1 parent 6b54e40 commit 59eafbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/channelserver/handlers_quest.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func makeEventQuest(s *Session, rows *sql.Rows) ([]byte, error) {

data := loadQuestFile(s, questId)
if data == nil {
return nil, fmt.Errorf("failed to load quest file")
return nil, fmt.Errorf(fmt.Sprintf("failed to load quest file (%d)", questId))
}

bf := byteframe.NewByteFrame()
Expand Down Expand Up @@ -278,7 +278,7 @@ func handleMsgMhfEnumerateQuest(s *Session, p mhfpacket.MHFPacket) {

// Check if the quest is currently active
if currentTime.Before(startTime) || currentTime.After(startTime.Add(time.Duration(activeDays)*24*time.Hour)) {
break
continue
}
}

Expand Down

0 comments on commit 59eafbe

Please sign in to comment.