mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
Fix Skyfire (you have to destroytarget the doors)
This commit is contained in:
@@ -24,6 +24,13 @@ template <typename T = UObject>
|
||||
static inline T* FindObject(const TCHAR* Name, UClass* Class = nullptr, UObject* Outer = nullptr)
|
||||
{
|
||||
auto res = (T*)StaticFindObject/*<T>*/(Class, Outer, Name);
|
||||
/*
|
||||
if (!res)
|
||||
{
|
||||
std::wstring NameWStr = std::wstring(Name);
|
||||
LOG_WARN(LogDev, "Failed to find object: {}", std::string(NameWStr.begin(), NameWStr.end()));
|
||||
}
|
||||
*/
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user