Update a condition

This commit is contained in:
Ewerton B. S
2023-08-21 08:53:49 +09:00
committed by GitHub
parent 30a215396b
commit 5d156021dc

View File

@@ -268,7 +268,7 @@ func handleMsgMhfEnumerateQuest(s *Session, p mhfpacket.MHFPacket) {
continue
}
if (availableInAllCycles && questId != 0) || (questId != 0 && (weeklyCycle == currentCycle || availableInAllCycles)) {
if questId != 0 && (availableInAllCycles || (weeklyCycle == currentCycle && weeklyCycle != 0)) {
data, err := makeEventQuest(s, rows, weeklyCycle, currentCycle)
if err != nil {
continue