fix quests package
This commit is contained in:
parent
5ed7c44270
commit
d1b19072f7
@ -323,7 +323,7 @@ func (qsa *QuestSystemAdapter) CompleteQuest(questID int32, player Player) error
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Remove from active quests if not repeatable
|
// Remove from active quests if not repeatable
|
||||||
if !quest.IsRepeatable() {
|
if !quest.Repeatable {
|
||||||
qsa.questManager.RemoveQuestFromPlayer(player.GetID(), questID)
|
qsa.questManager.RemoveQuestFromPlayer(player.GetID(), questID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1315
internal/quests/quests_test.go
Normal file
1315
internal/quests/quests_test.go
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user