forked from rosebudai/OpenRCT2-Web
Fix FileWatcher for Windows
This commit is contained in:
1 parent
26eb91016e
commit
5ba96a34ac
3 files changed
+5
-2
No files matched your search
@@ -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