mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Tasks] Extend IsTaskCompleted to also be aware of shared task completion (#4714)
* [Tasks] Extend IsTaskCompleted to also be aware of shared task completion * Fix my stupidity * Update client.h
This commit is contained in:
+2
-1
@@ -15,8 +15,9 @@ extern QueryServ *QServ;
|
||||
void Client::LoadClientTaskState()
|
||||
{
|
||||
if (RuleB(TaskSystem, EnableTaskSystem) && task_manager) {
|
||||
safe_delete(task_state);
|
||||
LoadClientSharedCompletedTasks();
|
||||
|
||||
safe_delete(task_state);
|
||||
task_state = new ClientTaskState();
|
||||
if (!task_manager->LoadClientState(this, task_state)) {
|
||||
safe_delete(task_state);
|
||||
|
||||
Reference in New Issue
Block a user