fix: mission offering (#1359)

fixes an issue where NPCs would offer the incorrect missions which caused odd blocks.  Consolidated logic for mission offering and removed redundant code.
This commit is contained in:
David Markowitz
2023-12-26 15:45:10 -08:00
committed by GitHub
parent ffa2f9986c
commit 46ac039a3b
3 changed files with 14 additions and 45 deletions

View File

@@ -257,7 +257,7 @@ bool Mission::IsComplete() const {
}
bool Mission::IsActive() const {
return m_State == eMissionState::ACTIVE || m_State == eMissionState::COMPLETE_AVAILABLE;
return m_State == eMissionState::ACTIVE || m_State == eMissionState::COMPLETE_ACTIVE;
}
void Mission::MakeActive() {