[Quest API] Add EVENT_TASKACCEPTED to Player scope (#2822)

* Add EVENT_TASKACCEPTED to player scope

* Formatting
This commit is contained in:
Vayle authored and GitHub committed 2023-02-05 22:53:37 -05:00
1 parent c1584da9cc
commit 8031bf0bcb
4 files changed
+23

No files matched your search

+1
View File
@@ -2125,6 +2125,7 @@ void ClientTaskState::AcceptNewTask(
if (npc) {
parse->EventNPC(EVENT_TASK_ACCEPTED, npc, client, export_string, 0);
}
parse->EventPlayer(EVENT_TASK_ACCEPTED, client, export_string, 0);
}
void ClientTaskState::ProcessTaskProximities(Client *client, float x, float y, float z)