mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 23:33:04 +01:00
Fix FileWatcher for Windows
This commit is contained in:
@@ -114,7 +114,7 @@ void ScriptEngine::AutoReloadPlugins()
|
||||
auto findResult = std::find_if(_plugins.begin(), _plugins.end(),
|
||||
[&path](const std::shared_ptr<Plugin>& plugin)
|
||||
{
|
||||
return path == plugin->GetPath();
|
||||
return Path::Equals(path, plugin->GetPath());
|
||||
});
|
||||
if (findResult != _plugins.end())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user