Skip to content

Commit

Permalink
chore: rename for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jac3km4 committed Mar 8, 2024
1 parent 63bdab2 commit 36ef6f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/dll/Hooks/ExecuteProcess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@ bool ExecuteScc(SccApi& scc)

ScriptCompilerSettings settings(scc, App::Get()->GetPaths()->GetR6Dir());

std::filesystem::path blobPath = scriptSystem->HasScriptsBlob()
? scriptSystem->GetScriptsBlob()
: App::Get()->GetPaths()->GetDefaultScriptBundleFile();
std::filesystem::path blobPath = scriptSystem->HasScriptsBlob() ? scriptSystem->GetScriptsBlob()
: App::Get()->GetPaths()->GetDefaultScriptsBlob();
auto moddedCacheFile = blobPath.replace_extension("redscripts.modded");

if (scriptSystem->HasScriptsBlob())
Expand Down
2 changes: 1 addition & 1 deletion src/dll/Paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ std::filesystem::path Paths::GetR6Scripts() const
return GetRootDir() / L"r6" / L"scripts";
}

std::filesystem::path Paths::GetDefaultScriptBundleFile() const
std::filesystem::path Paths::GetDefaultScriptsBlob() const
{
return GetRootDir() / L"r6" / L"cache" / "final.redscripts";
}
Expand Down
2 changes: 1 addition & 1 deletion src/dll/Paths.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Paths
std::filesystem::path GetRedscriptPathsFile() const;

std::filesystem::path GetR6Scripts() const;
std::filesystem::path GetDefaultScriptBundleFile() const;
std::filesystem::path GetDefaultScriptsBlob() const;
std::filesystem::path GetR6CacheModded() const;
std::filesystem::path GetR6Dir() const;

Expand Down

0 comments on commit 36ef6f2

Please sign in to comment.