fixed bot winning on many versions

This commit is contained in:
Gray
2025-04-07 09:43:34 -04:00
parent 79b081f8b6
commit 6746c14cd1
4 changed files with 24 additions and 14 deletions

View File

@@ -48,7 +48,8 @@ static inline T* LoadObject(const TCHAR* Name, UClass* Class = T::StaticClass(),
if (!Object)
{
LOG_WARN(LogDev, "Failed to load object!");
std::wstring NameWStr = std::wstring(Name);
LOG_WARN(LogDev, "Failed to load object: {}!", std::string(NameWStr.begin(), NameWStr.end()));
}
return Object;