diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-22 22:31:04 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-22 22:31:04 +1000 |
commit | cb19eef701b5c9e27d0464795fffcf8a4d795a21 (patch) | |
tree | 5cfbdf49ebd7ac9539891eea850e244887d4c355 /source/game/StarQuestManager.cpp | |
parent | 4fbd67daccfa69df6988bdf17c67ee3d5f3049c5 (diff) |
Add character swapping (no GUI yet)
Diffstat (limited to 'source/game/StarQuestManager.cpp')
-rw-r--r-- | source/game/StarQuestManager.cpp | 2 |
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; } } |