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