Skip to content

Commit

Permalink
chore(shared): remove OnCreateBasObject and OnRemoveBaseObject debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Mar 4, 2024
1 parent 8222ae0 commit 54be413
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions shared/src/interfaces/IAltResource.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ namespace js
if(context.IsEmpty()) return;
IResource::Scope scope(this);

const auto objType = object->GetType();
js::Logger::Warn << "OnCreateBaseObject: " << magic_enum::enum_name(objType) << js::Logger::Endl;

IScriptObjectHandler::GetOrCreateScriptObject(GetContext(), object);
}

Expand All @@ -68,9 +65,6 @@ namespace js
if(context.IsEmpty()) return;
IResource::Scope scope(this);

const auto objType = object->GetType();
js::Logger::Warn << "OnRemoveBaseObject: " << magic_enum::enum_name(objType) << js::Logger::Endl;

IScriptObjectHandler::DestroyScriptObject(object);
}

Expand Down

0 comments on commit 54be413

Please sign in to comment.