Skip to content

Commit

Permalink
SDK: Remove slow part of GUObjectArray initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Oct 24, 2023
1 parent 9ae53b0 commit ec46ad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/sdk/UObjectArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ FUObjectArray* FUObjectArray::get() try {
continue;
}

for (auto i = 0; i < result->get_object_count(); ++i) try {
/*for (auto i = 0; i < result->get_object_count(); ++i) try {
auto item = result->get_object(i);
if (item == nullptr) {
continue;
Expand All @@ -492,7 +492,7 @@ FUObjectArray* FUObjectArray::get() try {
}
} catch(...) {
SPDLOG_ERROR("[FUObjectArray::get] Exception: failed to get object {}", i);
}
}*/
};

return result;
Expand Down

0 comments on commit ec46ad9

Please sign in to comment.