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)
|
||||
m_quests.remove(questId);
|
||||
|
||||
for (auto& q : m_quests) {
|
||||
if (questValidOnServer(q.second))
|
||||
q.second->update(dt);
|
||||
for (auto& q : m_quests.values()) {
|
||||
if (questValidOnServer(q))
|
||||
q->update(dt);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user