mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-05 10:14:06 +00:00
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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user