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

summaryrefslogtreecommitdiff
path: root/source/game/StarRoot.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-22 22:22:19 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-22 22:22:19 +1100
commit5da4b1a4e3493427567583c90c4cbe03c5d3979c (patch)
tree92f58940b86abeb2c203a9bb31d8bb3fd77fad26 /source/game/StarRoot.cpp
parent4d841526091a3ede85bf244601b827f08ddf119e (diff)
Make it clearer when the base Starbound assets are missing
until the installer can locate the user's original Starbound assets
Diffstat (limited to 'source/game/StarRoot.cpp')
-rw-r--r--source/game/StarRoot.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/game/StarRoot.cpp b/source/game/StarRoot.cpp
index 7b8d495..e22f184 100644
--- a/source/game/StarRoot.cpp
+++ b/source/game/StarRoot.cpp
@@ -684,7 +684,8 @@ StringList Root::scanForAssetSources(StringList const& directories, StringList c
if (auto requirement = namedSources.ptr(requirementName))
dependencySortVisit(*requirement);
else
- throw StarException(strf("Asset source '{}' is missing dependency '{}'", *source->name, requirementName));
+ throw StarException(strf("Asset source '{}' is missing dependency '{}'{}", *source->name, requirementName,
+ requirementName != "base" ? "" : "\n\n(The base Starbound asset package could not be found, please copy it from another Starbound install!)\n"));
}
workingSet.remove(source);