Minor fixes

This commit is contained in:
Lion Kortlepel
2021-08-17 12:33:11 +02:00
committed by Lion
parent 9f0b057c14
commit fd6234bd21
3 changed files with 4 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ void TLuaEngine::FolderList(const std::string& Path, bool HotSwap) {
}
void TLuaEngine::RegisterFiles(const fs::path& Path, bool HotSwap) {
std::string Name = Path.filename();
std::string Name = Path.filename().string();
if (!HotSwap)
info(("Loading plugin : ") + Name);
std::vector<fs::path> Entries;