mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
[Bug Fix] Fix Task Reloading (#5002)
This commit is contained in:
parent
a4e47d9180
commit
145111f11e
@ -43,6 +43,8 @@ bool TaskManager::LoadTaskSets()
|
|||||||
|
|
||||||
bool TaskManager::LoadTasks(int single_task)
|
bool TaskManager::LoadTasks(int single_task)
|
||||||
{
|
{
|
||||||
|
m_task_data.clear();
|
||||||
|
|
||||||
std::string task_query_filter = fmt::format("id = {}", single_task);
|
std::string task_query_filter = fmt::format("id = {}", single_task);
|
||||||
if (single_task == 0) {
|
if (single_task == 0) {
|
||||||
if (!LoadTaskSets()) {
|
if (!LoadTaskSets()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user