[Quest API] (Performance) Check event EVENT_FEIGN_DEATH exists before export and execute (#2916)

* [Quest API] Optionally parse EVENT_FEIGN_DEATH

# Notes
- Optionally parse this event instead of always doing so.

* Remove unused reference, fix other PR

* Update task_client_state.cpp

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
This commit is contained in:
Alex King
2023-02-12 23:59:14 -05:00
committed by GitHub
parent 9836b5cf67
commit de047fb851
3 changed files with 16 additions and 11 deletions
+1
View File
@@ -2202,6 +2202,7 @@ void ClientTaskState::AcceptNewTask(
.task_name = task_manager->GetTaskName(static_cast<uint32>(task_id)),
};
RecordPlayerEventLogWithClient(client, PlayerEvent::TASK_ACCEPT, e);
}
}
if (parse->PlayerHasQuestSub(EVENT_TASK_ACCEPTED)) {