mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Use u8 strings when dealing with file paths
This commit is contained in:
@@ -456,7 +456,7 @@ void ScriptEngine::LoadPlugins()
|
||||
auto base = _env.GetDirectoryPath(DIRBASE::USER, DIRID::PLUGIN);
|
||||
if (Path::DirectoryExists(base))
|
||||
{
|
||||
auto pattern = Path::Combine(base, "*.js");
|
||||
auto pattern = Path::Combine(base, u8"*.js");
|
||||
auto scanner = Path::ScanDirectory(pattern, true);
|
||||
while (scanner->Next())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user