forked from rosebudai/OpenRCT2-Web
Rename DIRBASE and its members
This commit is contained in:
33 files changed
+123
-123
No files matched your search
@@ -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