Fix Skyfire (you have to destroytarget the doors)

This commit is contained in:
Gray
2025-03-23 18:21:42 -04:00
parent 74c588d51e
commit 228240101d
5 changed files with 65 additions and 15 deletions

View File

@@ -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;
}