fix compile error

This commit is contained in:
Lion Kortlepel
2024-05-08 11:21:38 +02:00
parent 5ece60574a
commit 40158dc252

View File

@@ -379,8 +379,7 @@ void TLuaEngine::CollectAndInitPlugins() {
});
for (const auto& Dir : PluginsEntries) {
auto Path = Dir.path();
Path = fs::relative(Path);
auto Path = fs::relative(Dir);
TLuaPluginConfig Config { Path.stem().string() };
FindAndParseConfig(Path, Config);
InitializePlugin(Path, Config);