Skip to content

Commit

Permalink
feat: Create server's resources directory if it does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
ToeKneeRED committed Jan 6, 2025
1 parent 869d34f commit 820e5bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Code/components/resources/ResourceCollection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ void ResourceCollection::CollectResources()
m_resourcePath = std::filesystem::current_path() / kResourceFolderName;
if (!std::filesystem::exists(m_resourcePath))
{
spdlog::info("Resource folder {} does not exist", m_resourcePath.string());
return;
std::filesystem::create_directory(m_resourcePath);
}

TiltedPhoques::Vector<std::filesystem::path> manifestCanidates;
Expand Down

0 comments on commit 820e5bb

Please sign in to comment.