Skip to content

Commit

Permalink
Unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jul 9, 2023
1 parent 0aa8c34 commit e4628ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/sdk/UClass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ void UScriptStruct::update_offsets() {
FProperty* UStruct::find_property(std::wstring_view name) const {
for (auto super = this; super != nullptr; super = (UClass*)super->get_super_struct()) {
for (auto child = super->get_child_properties(); child != nullptr; child = child->get_next()) {
SPDLOG_INFO("[UStruct] Checking child property {}", utility::narrow(child->get_field_name().to_string()));
//SPDLOG_INFO("[UStruct] Checking child property {}", utility::narrow(child->get_field_name().to_string()));

if (child->get_field_name().to_string() == name) {
return (FProperty*)child;
Expand All @@ -575,7 +575,7 @@ FProperty* UStruct::find_property(std::wstring_view name) const {
UProperty* UStruct::find_uproperty(std::wstring_view name) const {
for (auto super = this; super != nullptr; super = (UClass*)super->get_super_struct()) {
for (auto child = super->get_children(); child != nullptr; child = child->get_next()) {
SPDLOG_INFO("[UStruct] Checking child UProperty {}", utility::narrow(child->get_fname().to_string()));
//SPDLOG_INFO("[UStruct] Checking child UProperty {}", utility::narrow(child->get_fname().to_string()));

if (child->get_fname().to_string() == name) {
return (UProperty*)child;
Expand Down

0 comments on commit e4628ac

Please sign in to comment.