mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 01:01:30 +00:00
[Bug Fix] Fix loading world shared task state (#2398)
The default for this field is -1 not 0, so on world restarts this was marking all elements completed
This commit is contained in:
parent
3e703769a4
commit
94ac04b360
@ -356,7 +356,7 @@ void SharedTaskManager::LoadSharedTaskState()
|
||||
e.step = ad.step;
|
||||
e.optional = ad.optional;
|
||||
e.req_activity_id = ad.req_activity_id;
|
||||
e.activity_state = sta.completed_time == 0 ? ActivityHidden : ActivityCompleted;
|
||||
e.activity_state = sta.completed_time > 0 ? ActivityCompleted : ActivityHidden;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user