Update StarQuestManager.cpp

This commit is contained in:
Kae 2024-11-27 21:29:53 +11:00
parent 56c99c086f
commit e437282d5c

View File

@ -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);
}
}