Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarQuestManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarQuestManager.cpp')
-rw-r--r--source/game/StarQuestManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarQuestManager.cpp b/source/game/StarQuestManager.cpp
index 6ea4689..e9736c7 100644
--- a/source/game/StarQuestManager.cpp
+++ b/source/game/StarQuestManager.cpp
@@ -110,7 +110,7 @@ bool QuestManager::canStart(QuestArcDescriptor const& questArc) const {
if (!m_player->inventory()->hasItem(item))
return false;
if (questTemplate->requiredShipLevel) {
- if (m_player->clientContext()->shipUpgrades().shipLevel < *questTemplate->requiredShipLevel)
+ if (m_player->shipUpgrades().shipLevel < *questTemplate->requiredShipLevel)
return false;
}
}