mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-25 13:30:43 +00:00
fix compile error
This commit is contained in:
1 file changed
+1
-2
+1
-2
@@ -379,8 +379,7 @@ void TLuaEngine::CollectAndInitPlugins() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
for (const auto& Dir : PluginsEntries) {
|
for (const auto& Dir : PluginsEntries) {
|
||||||
auto Path = Dir.path();
|
auto Path = fs::relative(Dir);
|
||||||
Path = fs::relative(Path);
|
|
||||||
TLuaPluginConfig Config { Path.stem().string() };
|
TLuaPluginConfig Config { Path.stem().string() };
|
||||||
FindAndParseConfig(Path, Config);
|
FindAndParseConfig(Path, Config);
|
||||||
InitializePlugin(Path, Config);
|
InitializePlugin(Path, Config);
|
||||||
|
|||||||
Reference in new issue
Block a user