mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
a lot
fix looting s5, fix mcp skins on <S9, add team map markers to s8+, add nomcp to s5, add something that should fix some issues on a lot of versions
This commit is contained in:
@@ -35,7 +35,14 @@ static inline T* LoadObject(const TCHAR* Name, UClass* Class = T::StaticClass(),
|
||||
return FindObject<T>(Name, Class, Outer);
|
||||
}
|
||||
|
||||
return (T*)StaticLoadObjectOriginal(Class, Outer, Name, nullptr, 0, nullptr, false);
|
||||
auto Object = (T*)StaticLoadObjectOriginal(Class, Outer, Name, nullptr, 0, nullptr, false);
|
||||
|
||||
if (!Object)
|
||||
{
|
||||
LOG_WARN(LogDev, "Failed to load object!");
|
||||
}
|
||||
|
||||
return Object;
|
||||
}
|
||||
|
||||
template <typename T = UObject>
|
||||
|
||||
Reference in New Issue
Block a user