mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
fixed bot winning on many versions
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user