mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 10:41:01 +00:00
fix compile error
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user