Update StarQuestManager.cpp
This commit is contained in:
parent
56c99c086f
commit
e437282d5c
@ -412,9 +412,9 @@ void QuestManager::update(float dt) {
|
|||||||
for (auto& questId : expiredQuests)
|
for (auto& questId : expiredQuests)
|
||||||
m_quests.remove(questId);
|
m_quests.remove(questId);
|
||||||
|
|
||||||
for (auto& q : m_quests) {
|
for (auto& q : m_quests.values()) {
|
||||||
if (questValidOnServer(q.second))
|
if (questValidOnServer(q))
|
||||||
q.second->update(dt);
|
q->update(dt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user