mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Rename DIRBASE and its members
This commit is contained in:
@@ -592,7 +592,7 @@ std::vector<std::string> ScriptEngine::GetPluginFiles() const
|
||||
{
|
||||
// Scan for .js files in plugin directory
|
||||
std::vector<std::string> pluginFiles;
|
||||
auto base = _env.GetDirectoryPath(DIRBASE::USER, DIRID::PLUGIN);
|
||||
auto base = _env.GetDirectoryPath(DirBase::user, DIRID::PLUGIN);
|
||||
if (Path::DirectoryExists(base))
|
||||
{
|
||||
auto pattern = Path::Combine(base, u8"*.js");
|
||||
@@ -794,7 +794,7 @@ void ScriptEngine::SetupHotReloading()
|
||||
{
|
||||
try
|
||||
{
|
||||
auto base = _env.GetDirectoryPath(DIRBASE::USER, DIRID::PLUGIN);
|
||||
auto base = _env.GetDirectoryPath(DirBase::user, DIRID::PLUGIN);
|
||||
if (Path::DirectoryExists(base))
|
||||
{
|
||||
_pluginFileWatcher = std::make_unique<FileWatcher>(base);
|
||||
|
||||
Reference in New Issue
Block a user